summaryrefslogtreecommitdiffstats
path: root/Auxiliary/vim/cmake.vim.in
diff options
context:
space:
mode:
authorPatrick Boettcher <p@yai.se>2023-07-13 13:14:56 (GMT)
committerPatrick Boettcher <p@yai.se>2023-07-13 13:14:56 (GMT)
commit664b0e2fc3ef9f3c66288b8ad5625538f8072a50 (patch)
tree2302afb31f5d0bbe8091726262db1bdbcc6f0d60 /Auxiliary/vim/cmake.vim.in
parentdc88dd5e4a8f863d9fdc2275477e002b55e71a88 (diff)
parent1594a34250c04f2385d6d89bba5257039c005298 (diff)
downloadCMake-664b0e2fc3ef9f3c66288b8ad5625538f8072a50.zip
CMake-664b0e2fc3ef9f3c66288b8ad5625538f8072a50.tar.gz
CMake-664b0e2fc3ef9f3c66288b8ad5625538f8072a50.tar.bz2
Merge branch 'upstream-vim-cmake-syntax'
* upstream-vim-cmake-syntax: vim-cmake-syntax 2023-07-13 (7c6f28d0)
Diffstat (limited to 'Auxiliary/vim/cmake.vim.in')
-rw-r--r--Auxiliary/vim/cmake.vim.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Auxiliary/vim/cmake.vim.in b/Auxiliary/vim/cmake.vim.in
index 6edc040..39d7193 100644
--- a/Auxiliary/vim/cmake.vim.in
+++ b/Auxiliary/vim/cmake.vim.in
@@ -22,20 +22,20 @@ set cpo&vim
syn region cmakeBracketArgument start="\[\z(=\?\|=[0-9]*\)\[" end="\]\z1\]" contains=cmakeTodo,@Spell
syn region cmakeComment start="#" end="$" contains=cmakeTodo,@Spell
-syn region cmakeBracketComment start="#\[\z(=\?\|=[0-9]*\)\[" end="\]\z1\]" contains=cmakeTodo,@Spell
+syn region cmakeBracketComment start="\[\z(=*\)\[" end="\]\z1\]" contains=cmakeTodo,@Spell
syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained
syn region cmakeRegistry start="\[" end="]" contained oneline contains=cmakeTodo,cmakeEscaped
syn region cmakeGeneratorExpression start="$<" end=">" contained oneline contains=cmakeVariableValue,cmakeProperty,cmakeGeneratorExpressions,cmakeTodo
-syn region cmakeString start='"' end='"' contained contains=cmakeTodo,cmakeVariableValue,cmakeEscaped
+syn region cmakeString start='"' end='"' contained contains=cmakeTodo,cmakeVariableValue,cmakeEscaped,@Spell
syn region cmakeVariableValue start="${" end="}" contained oneline contains=cmakeVariable,cmakeTodo,cmakeVariableValue
syn region cmakeEnvironment start="$ENV{" end="}" contained oneline contains=cmakeTodo
-syn region cmakeArguments start="(" end=")" contains=ALLBUT,cmakeGeneratorExpressions,cmakeCommand,cmakeCommandConditional,cmakeCommandRepeat,cmakeCommandDeprecated,cmakeCommandManuallyAdded,cmakeArguments,cmakeTodo
+syn region cmakeArguments start="(" end=")" contains=ALLBUT,cmakeGeneratorExpressions,cmakeCommand,cmakeCommandConditional,cmakeCommandRepeat,cmakeCommandDeprecated,cmakeCommandManuallyAdded,cmakeArguments,cmakeTodo,@Spell
syn case match