diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-07-22 16:23:53 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2016-07-22 16:23:53 (GMT) |
commit | ffa44a39c9d7e092f8c86a4648b976ccc64da4d6 (patch) | |
tree | 7e982d7c3a99bf3c8df3c36b15555d39eff92d7a | |
parent | 29eeb9a8fd9a6417b99e7fbd8b406f72fc83f35f (diff) | |
download | CMake-ffa44a39c9d7e092f8c86a4648b976ccc64da4d6.zip CMake-ffa44a39c9d7e092f8c86a4648b976ccc64da4d6.tar.gz CMake-ffa44a39c9d7e092f8c86a4648b976ccc64da4d6.tar.bz2 |
Aux: highlight Lua-style comments
-rw-r--r-- | Auxiliary/cmake-syntax.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Auxiliary/cmake-syntax.vim b/Auxiliary/cmake-syntax.vim index 6a888b6..44619c7 100644 --- a/Auxiliary/cmake-syntax.vim +++ b/Auxiliary/cmake-syntax.vim @@ -16,6 +16,7 @@ endif syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained syn region cmakeComment start="#" end="$" contains=cmakeTodo,@Spell +syn region cmakeLuaComment start="\[\z(=*\)\[" end="\]\z1\]" contains=cmakeTodo,@Spell syn region cmakeGeneratorExpression start=/$</ end=/>/ \ contained oneline contains=CONTAINED,cmakeTodo,cmakeVariable,cmakeProperty,cmakeGeneratorExpressions syn region cmakeRegistry start=/\[/ end=/]/ @@ -439,6 +440,7 @@ hi def link cmakeEnvironment Special hi def link cmakeError Error hi def link cmakeEscaped Special hi def link cmakeMacro PreProc +hi def link cmakeLuaComment Comment hi def link cmakeModule PreProc hi def link cmakeRegistry Underlined hi def link cmakeString String |