From: Samir Benmendil Date: Tue, 10 Oct 2017 18:01:52 +0000 (+0100) Subject: vim: unindent on `endfunction(` X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/b38e4e816a36487bc46fe3dcc80d0327934fce02 vim: unindent on `endfunction(` --- diff --git a/vim/indent/cmake.vim b/vim/indent/cmake.vim index 691ca91..c607cd9 100644 --- a/vim/indent/cmake.vim +++ b/vim/indent/cmake.vim @@ -17,7 +17,7 @@ endif let b:did_indent = 1 setlocal indentexpr=CMakeGetIndent(v:lnum) -setlocal indentkeys+=0=~ENDIF(,0=~ENDFOREACH(,0=~ENDMACRO(,0=~ELSE(,0=~ELSEIF(,0=~ENDWHILE( +setlocal indentkeys+=0=~ENDIF(,0=~ENDFOREACH(,0=~ENDMACRO(,0=~ENDFUNCTION(,0=~ELSE(,0=~ELSEIF(,0=~ENDWHILE( " Only define the function once. if exists("*CMakeGetIndent")