diff options
Diffstat (limited to 'indent/cpp.vim')
| -rw-r--r-- | indent/cpp.vim | 19 | 
1 files changed, 19 insertions, 0 deletions
| diff --git a/indent/cpp.vim b/indent/cpp.vim new file mode 100644 index 00000000..e6bbfc63 --- /dev/null +++ b/indent/cpp.vim @@ -0,0 +1,19 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1 +   +" Vim indent file +" Language:	C++ +" Maintainer:	Bram Moolenaar <Bram@vim.org> +" Last Change:	2008 Nov 29 + +" 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 + +let b:undo_indent = "setl cin<" + +endif | 
