2004-06-13 20:20:40 +00:00
|
|
|
" Vim indent file
|
|
|
|
" Language: C++
|
|
|
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
2010-01-06 20:54:52 +01:00
|
|
|
" Last Change: 2008 Nov 29
|
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
|
2010-01-06 20:54:52 +01:00
|
|
|
|
|
|
|
let b:undo_indent = "setl cin<"
|