annotate runtime/indent/c.vim @ 5458:6ae816249627
v7.4.079
updated for version 7.4.079
Problem: A script cannot detect whether 'hlsearch' highlighting is actually
displayed.
Solution: Add the "v:hlsearch" variable. (ZyX)
author |
Bram Moolenaar <bram@vim.org> |
date |
Fri, 08 Nov 2013 04:30:20 +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<"
|