]> git.rmz.io Git - dotfiles.git/blobdiff - vim/indent/cmake.vim
vim: unindent on `endfunction(`
[dotfiles.git] / vim / indent / cmake.vim
index 691ca913a79e4f354cf3e354803a64a65f655d75..c607cd98394cbe0e10add0f904768f0a7f73111e 100644 (file)
@@ -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")