2004-06-13 20:20:40 +00:00
|
|
|
" Vim indent file
|
|
|
|
" Language: C
|
|
|
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
2005-03-28 20:58:01 +00:00
|
|
|
" Last Change: 2005 Mar 27
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
|
|
" 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
|
2005-03-28 20:58:01 +00:00
|
|
|
|
|
|
|
let b:undo_indent = "setl cin<"
|