2004-06-13 20:20:40 +00:00
|
|
|
" Vim indent file
|
|
|
|
" Language: C++
|
2023-08-13 10:33:05 +02:00
|
|
|
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
|
|
|
" Last Change: 2023 Aug 10
|
|
|
|
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
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<"
|