comparison runtime/indent/ch.vim @ 33052:5c220cf30f1f

runtime: Set b:undo_indent where missing (#12944) Commit: https://github.com/vim/vim/commit/0382f05dbd659d8e39ee4e71c1e5062ac5c0a8fd Author: dkearns <dougkearns@gmail.com> Date: Tue Aug 29 05:32:59 2023 +1000 runtime: Set b:undo_indent where missing (https://github.com/vim/vim/issues/12944) Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 28 Aug 2023 21:45:07 +0200
parents 8cd729851562
children
comparison
equal deleted inserted replaced
33051:02939ae3aaca 33052:5c220cf30f1f
1 " Vim indent file 1 " Vim indent file
2 " Language: Ch 2 " Language: Ch
3 " Maintainer: SoftIntegration, Inc. <info@softintegration.com> 3 " Maintainer: SoftIntegration, Inc. <info@softintegration.com>
4 " URL: http://www.softintegration.com/download/vim/indent/ch.vim 4 " URL: http://www.softintegration.com/download/vim/indent/ch.vim
5 " Last change: 2006 Apr 30 5 " Last change: 2006 Apr 30
6 " 2023 Aug 28 by Vim Project (undo_indent)
6 " Created based on cpp.vim 7 " Created based on cpp.vim
7 " 8 "
8 " Ch is a C/C++ interpreter with many high level extensions 9 " Ch is a C/C++ interpreter with many high level extensions
9 10
10 11
14 endif 15 endif
15 let b:did_indent = 1 16 let b:did_indent = 1
16 17
17 " Ch indenting is built-in, thus this is very simple 18 " Ch indenting is built-in, thus this is very simple
18 setlocal cindent 19 setlocal cindent
20
21 let b:undo_indent = "setlocal cindent<"