summaryrefslogtreecommitdiffstats
path: root/indent/meson.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/meson.vim')
-rw-r--r--indent/meson.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/indent/meson.vim b/indent/meson.vim
index 65d039e9..eb726902 100644
--- a/indent/meson.vim
+++ b/indent/meson.vim
@@ -24,6 +24,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