view runtime/indent/c.vim @ 32958:578ffda95ad5 v9.0.1779

patch 9.0.1779: Need more state() tests Commit: https://github.com/vim/vim/commit/8dabccd295271104ad5af0abc48e283d644cff59 Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Aug 22 21:22:24 2023 +0200 patch 9.0.1779: Need more state() tests Problem: Need more state() tests Solution: Add a few more tests for operater pending mode and register yank command closes: #12883 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: author
author Christian Brabandt <cb@256bit.org>
date Tue, 22 Aug 2023 21:30:03 +0200
parents 4027cefc2aab
children
line wrap: on
line source

" Vim indent file
" Language:	C
" Maintainer:	The Vim Project <https://github.com/vim/vim>
" Last Change:	2023 Aug 10
" Former Maintainer:	Bram Moolenaar <Bram@vim.org>

" 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<"