view runtime/indent/cpp.vim @ 11219:e53609585b76 v8.0.0496

patch 8.0.0496: insufficient testing for folding commit https://github.com/vim/vim/commit/518c9b133baed4b1a555d7be0ece1b48bb234b1d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 21 11:48:39 2017 +0100 patch 8.0.0496: insufficient testing for folding Problem: Insufficient testing for folding. Solution: Add a couple more fold tests. (Dominique Pelle, closes https://github.com/vim/vim/issues/1579)
author Christian Brabandt <cb@256bit.org>
date Tue, 21 Mar 2017 12: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<"