view runtime/indent/cpp.vim @ 8401:98955c2ffd9f

commit https://github.com/vim/vim/commit/019b9c644e92742e37efc08fef47c2620a01b6b3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 5 17:26:00 2016 +0100 Add new test file.
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Mar 2016 17:30:05 +0100
parents 7bc41231fbc7
children 4027cefc2aab
line wrap: on
line source

" 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<"