view runtime/indent/cpp.vim @ 8921:c3e7cc135754 v7.4.1747

commit https://github.com/vim/vim/commit/fe4b18640656ddea41f60cf7a76956c9cc5494d6 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 15 21:47:54 2016 +0200 patch 7.4.1747 Problem: Coverity: missing check for NULL pointer. Solution: Check for out of memory.
author Christian Brabandt <cb@256bit.org>
date Fri, 15 Apr 2016 22:00:07 +0200
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<"