summaryrefslogtreecommitdiffstats
path: root/Auxiliary/vim/cmake.vim.in
diff options
context:
space:
mode:
authorPatrick Boettcher <p@yai.se>2019-05-29 14:58:06 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-29 15:57:17 (GMT)
commitb410dd5a05c83b7728a9c4501d5ca5bf7d11822c (patch)
tree6a77261d4609556ea43be7403c42ec8f5ba60096 /Auxiliary/vim/cmake.vim.in
parent067a4f484b1e2f650918d90051653b5c434c77a2 (diff)
parent06434fc2748f241eb6d89ffd2c0c66fb95dba9cb (diff)
downloadCMake-b410dd5a05c83b7728a9c4501d5ca5bf7d11822c.zip
CMake-b410dd5a05c83b7728a9c4501d5ca5bf7d11822c.tar.gz
CMake-b410dd5a05c83b7728a9c4501d5ca5bf7d11822c.tar.bz2
Merge branch 'upstream-vim-cmake-syntax' into update-vim-syntax
* upstream-vim-cmake-syntax: vim-cmake-syntax 2019-05-29 (c42ede9f)
Diffstat (limited to 'Auxiliary/vim/cmake.vim.in')
-rw-r--r--Auxiliary/vim/cmake.vim.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Auxiliary/vim/cmake.vim.in b/Auxiliary/vim/cmake.vim.in
index 77ad3d8..3471b54 100644
--- a/Auxiliary/vim/cmake.vim.in
+++ b/Auxiliary/vim/cmake.vim.in
@@ -31,11 +31,11 @@ syn region cmakeGeneratorExpression start="$<" end=">" contained oneline contain
syn region cmakeString start='"' end='"' contained contains=cmakeTodo,cmakeVariableValue,cmakeEscaped
-syn region cmakeVariableValue start="${" end="}" contained oneline contains=cmakeVariable,cmakeTodo
+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,cmakeCommand,cmakeCommandConditional,cmakeCommandRepeat,cmakeCommandDeprecated,cmakeCommandManuallyAdded,cmakeArguments,cmakeTodo
+syn region cmakeArguments start="(" end=")" contains=ALLBUT,cmakeGeneratorExpressions,cmakeCommand,cmakeCommandConditional,cmakeCommandRepeat,cmakeCommandDeprecated,cmakeCommandManuallyAdded,cmakeArguments,cmakeTodo
syn case match