mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
ae7ab90159
runtime: Set b:undo_indent where missing (vim/vim#12944)
0382f05dbd
Co-authored-by: dkearns <dougkearns@gmail.com>
22 lines
556 B
VimL
22 lines
556 B
VimL
" Vim indent file
|
|
" Language: Ch
|
|
" Maintainer: SoftIntegration, Inc. <info@softintegration.com>
|
|
" URL: http://www.softintegration.com/download/vim/indent/ch.vim
|
|
" Last change: 2006 Apr 30
|
|
" 2023 Aug 28 by Vim Project (undo_indent)
|
|
" Created based on cpp.vim
|
|
"
|
|
" Ch is a C/C++ interpreter with many high level extensions
|
|
|
|
|
|
" Only load this indent file when no other was loaded.
|
|
if exists("b:did_indent")
|
|
finish
|
|
endif
|
|
let b:did_indent = 1
|
|
|
|
" Ch indenting is built-in, thus this is very simple
|
|
setlocal cindent
|
|
|
|
let b:undo_indent = "setlocal cindent<"
|