diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-21 11:17:03 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-21 11:17:03 (GMT) |
commit | e3d7dbd2f8178069eb00227f075fc70972285286 (patch) | |
tree | e1aba552db52d351ca02f5791ba66016c1015834 /Docs | |
parent | 2a335ae7487cfb54f518a116fc92ac55f58eee6a (diff) | |
download | CMake-e3d7dbd2f8178069eb00227f075fc70972285286.zip CMake-e3d7dbd2f8178069eb00227f075fc70972285286.tar.gz CMake-e3d7dbd2f8178069eb00227f075fc70972285286.tar.bz2 |
ENH: Add While support
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/cmake-indent.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Docs/cmake-indent.vim b/Docs/cmake-indent.vim index e36937d..d0711d9 100644 --- a/Docs/cmake-indent.vim +++ b/Docs/cmake-indent.vim @@ -65,8 +65,8 @@ fun! CMakeGetIndent(lnum) \ ')\s*' . \ '\(' . cmake_regex_comment . '\)\?$' - let cmake_indent_begin_regex = '^\s*\(IF\|MACRO\|FOREACH\|ELSE\)\s*(' - let cmake_indent_end_regex = '^\s*\(ENDIF\|ENDFOREACH\|ENDMACRO\|ELSE\)\s*(' + let cmake_indent_begin_regex = '^\s*\(IF\|MACRO\|FOREACH\|ELSE\|WHILE\)\s*(' + let cmake_indent_end_regex = '^\s*\(ENDIF\|ENDFOREACH\|ENDMACRO\|ELSE\|ENDWHILE\)\s*(' " Add if previous_line =~? cmake_indent_comment_line " Handle comments |