summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-07-22 16:23:16 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2016-07-22 16:23:16 (GMT)
commit29eeb9a8fd9a6417b99e7fbd8b406f72fc83f35f (patch)
tree0be07468bb8883e0ae9a0684cf7993ea64139e9b
parent8842a501cffe67a665b6fe70956e207193b3f76d (diff)
downloadCMake-29eeb9a8fd9a6417b99e7fbd8b406f72fc83f35f.zip
CMake-29eeb9a8fd9a6417b99e7fbd8b406f72fc83f35f.tar.gz
CMake-29eeb9a8fd9a6417b99e7fbd8b406f72fc83f35f.tar.bz2
Aux: check spelling in comments
-rw-r--r--Auxiliary/cmake-syntax.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auxiliary/cmake-syntax.vim b/Auxiliary/cmake-syntax.vim
index 973252d..6a888b6 100644
--- a/Auxiliary/cmake-syntax.vim
+++ b/Auxiliary/cmake-syntax.vim
@@ -15,7 +15,7 @@ if exists("b:current_syntax")
endif
syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained
-syn region cmakeComment start="#" end="$" contains=cmakeTodo
+syn region cmakeComment start="#" end="$" contains=cmakeTodo,@Spell
syn region cmakeGeneratorExpression start=/$</ end=/>/
\ contained oneline contains=CONTAINED,cmakeTodo,cmakeVariable,cmakeProperty,cmakeGeneratorExpressions
syn region cmakeRegistry start=/\[/ end=/]/