Mercurial > hg > RemoteEditor > vim7
annotate runtime/indent/c.vim @ 0:76efa0be13f1
Initial revision
author | atsuki |
---|---|
date | Sat, 10 Nov 2007 15:07:22 +0900 |
parents | |
children |
rev | line source |
---|---|
0 | 1 " Vim indent file |
2 " Language: C | |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | |
4 " Last Change: 2005 Mar 27 | |
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 | |
14 | |
15 let b:undo_indent = "setl cin<" |