X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/66108502413f46af5eb506f6b393e479e22371de..7eb1ded05d647500b1488d025dbb65d71411c27e:/vim/indent/cmake.vim 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")