annotate runtime/indent/c.vim @ 6417:77fe94082f53
v7.4.539
updated for version 7.4.539
Problem: Crash when computing buffer count. Problem with range for user
commands. Line range wrong in Visual area.
Solution: Avoid segfault in compute_buffer_local_count(). Check for
CMD_USER when checking type of range. (Marcin Szamotulski)
author |
Bram Moolenaar <bram@vim.org> |
date |
Sun, 30 Nov 2014 14:50:16 +0100 |
parents |
fca8a9b65afa |
children |
4027cefc2aab |
rev |
line source |
7
|
1 " Vim indent file
|
|
2 " Language: C
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
233
|
4 " Last Change: 2005 Mar 27
|
7
|
5
|
|
6 " Only load this indent file when no other was loaded.
|
|
7 if exists("b:did_indent")
|
|
8 finish
|
|
9 endif
|
|
10 let b:did_indent = 1
|
|
11
|
|
12 " C indenting is built-in, thus this is very simple
|
|
13 setlocal cindent
|
233
|
14
|
|
15 let b:undo_indent = "setl cin<"
|