blob: bb4dfd185ead999fef789b32bd23fbaecb6ecbd9 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim indent file
2" Language: C++
Christian Brabandte978b452023-08-13 10:33:05 +02003" Maintainer: The Vim Project <https://github.com/vim/vim>
4" Last Change: 2023 Aug 10
5" Former Maintainer: Bram Moolenaar <Bram@vim.org>
Bram Moolenaar071d4272004-06-13 20:20:40 +00006
7" Only load this indent file when no other was loaded.
8if exists("b:did_indent")
9 finish
10endif
11let b:did_indent = 1
12
13" C++ indenting is built-in, thus this is very simple
14setlocal cindent
Bram Moolenaar5c736222010-01-06 20:54:52 +010015
16let b:undo_indent = "setl cin<"