Showing the changes to lib/vimfiles/indent/cpp.vim (1 of 1336 files). Show all
Unified · Split
| @@ -0,0 +1,13 @@ | ||
| 1 | +" Vim indent file | |
| 2 | +" Language: C++ | |
| 3 | +" Maintainer: Bram Moolenaar <Bram@vim.org> | |
| 4 | +" Last Change: 2001 Jun 12 | |
| 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 | |