view runtime/indent/cpp.vim @ 27474:307341b9c227 v8.2.4265

patch 8.2.4265: autoload tests fails Commit: https://github.com/vim/vim/commit/6a058070924928f1b2bdb11f345229074904d8bd Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 30 18:56:35 2022 +0000 patch 8.2.4265: autoload tests fails Problem: Autoload tests fails. Solution: Use export instead of name with #.
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Jan 2022 20: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<"