diff options
| author | Doug Kearns <dougkearns@gmail.com> | 2021-09-29 11:57:34 -0400 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-09-30 00:26:25 +0300 |
| commit | 6512478d2f18242b59adb96b88390038fbe25b46 (patch) | |
| tree | b4936b12141bae7a3ac014d63d1f4d8d642ff767 /data | |
| parent | 65b144bc85473d0d31e42aa57a05ed725b60d621 (diff) | |
| download | meson-6512478d2f18242b59adb96b88390038fbe25b46.tar.gz | |
syntax-highlighting: vim: set b:undo_indent
The b:undo_indent variable gets executed to undo the effects of the
options set earlier in the file.
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Diffstat (limited to 'data')
| -rw-r--r-- | data/syntax-highlighting/vim/indent/meson.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/syntax-highlighting/vim/indent/meson.vim b/data/syntax-highlighting/vim/indent/meson.vim index ec0cbb4ae..57bea1363 100644 --- a/data/syntax-highlighting/vim/indent/meson.vim +++ b/data/syntax-highlighting/vim/indent/meson.vim @@ -20,6 +20,8 @@ setlocal autoindent " indentexpr isn't much help otherwise setlocal indentexpr=GetMesonIndent(v:lnum) setlocal indentkeys+==elif,=else,=endforeach,=endif,0) +let b:undo_indent = "setl ai< inde< indk< lisp<" + " Only define the function once. if exists("*GetMesonIndent") finish |
