view runtime/indent/cpp.vim @ 21572:e9954158a9cf v8.2.1336

patch 8.2.1336: build failure on non-Unix systems Commit: https://github.com/vim/vim/commit/af50e899e70ee34d5356846afbea7d75701cb22b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 1 13:22:10 2020 +0200 patch 8.2.1336: build failure on non-Unix systems Problem: Build failure on non-Unix systems. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Aug 2020 13:30:05 +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<"