1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-20 00:35:10 +01:00
vim/runtime/indent/cpp.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
395 B
VimL
Raw Permalink Normal View History

2004-06-13 20:20:40 +00:00
" Vim indent file
" Language: C++
" 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<"