view runtime/indent/cpp.vim @ 10434:f3bb76ec4155 v8.0.0111

commit https://github.com/vim/vim/commit/eebd84eb94ed7f59a06a52cb4863563642f58899 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 1 17:57:44 2016 +0100 patch 8.0.0111 Problem: The :history command is not tested. Solution: Add tests. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Thu, 01 Dec 2016 18:00:04 +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<"