mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 05:35:10 -07:00
16 lines
329 B
VimL
16 lines
329 B
VimL
|
" 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<"
|