summaryrefslogtreecommitdiffstats
path: root/Auxiliary/vim/indent/cmake.vim
diff options
context:
space:
mode:
Diffstat (limited to 'Auxiliary/vim/indent/cmake.vim')
-rw-r--r--Auxiliary/vim/indent/cmake.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/Auxiliary/vim/indent/cmake.vim b/Auxiliary/vim/indent/cmake.vim
index 0c662fa..28ecf84 100644
--- a/Auxiliary/vim/indent/cmake.vim
+++ b/Auxiliary/vim/indent/cmake.vim
@@ -17,6 +17,8 @@ let b:did_indent = 1
setlocal indentexpr=CMakeGetIndent(v:lnum)
setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE(
+let b:undo_indent = "setl inde< indk<"
+
" Only define the function once.
if exists("*CMakeGetIndent")
finish