Mercurial > vim
view runtime/indent/c.vim @ 19348:b6da81589f8c v8.2.0232
patch 8.2.0232: the :compiler command causes a crash
Commit: https://github.com/vim/vim/commit/165315584d6587e287f54d6c8820e050114b5694
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 8 16:00:46 2020 +0100
patch 8.2.0232: the :compiler command causes a crash
Problem: The :compiler command causes a crash. (Daniel Steinberg)
Solution: Do not use the script index if it isn't set.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Feb 2020 16:15:04 +0100 |
parents | fca8a9b65afa |
children | 4027cefc2aab |
line wrap: on
line source
" Vim indent file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2005 Mar 27 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 " C indenting is built-in, thus this is very simple setlocal cindent let b:undo_indent = "setl cin<"