summaryrefslogtreecommitdiff
path: root/runtime/syntax/cmake.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-01 22:38:45 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-01 22:38:45 +0200
commitc873442b15bb94dc099363f6e1ffa57cc4d3ea04 (patch)
treeca9eecc75974b157665c25a99b083e9bf813154c /runtime/syntax/cmake.vim
parentf13de07e492fc0a4a0af12434f3d282f9c989ed4 (diff)
downloadvim-c873442b15bb94dc099363f6e1ffa57cc4d3ea04.zip
Updated runtime files.
Diffstat (limited to 'runtime/syntax/cmake.vim')
-rw-r--r--runtime/syntax/cmake.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/syntax/cmake.vim b/runtime/syntax/cmake.vim
index e241605e0..8e54d511e 100644
--- a/runtime/syntax/cmake.vim
+++ b/runtime/syntax/cmake.vim
@@ -4,7 +4,8 @@
" Language: CMake
" Author: Andy Cedilnik <andy.cedilnik@kitware.com>
" Maintainer: Karthik Krishnan <karthik.krishnan@kitware.com>
-" Last Change: $Date: 2008-08-25 14:31:28 $
+" Last Change: 2012 Jun 01
+" (Dominique Pelle added @Spell)
" Version: $Revision: 1.10 $
"
" Licence: The CMake license applies to this file. See
@@ -23,7 +24,7 @@ set cpo&vim
syn case ignore
syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained
-syn region cmakeComment start="#" end="$" contains=cmakeTodo
+syn region cmakeComment start="#" end="$" contains=@Spell,cmakeTodo
syn region cmakeRegistry start=/\[/ end=/]/
\ contained oneline contains=CONTAINED,cmakeTodo,cmakeEscaped
syn region cmakeVariableValue start=/\${/ end=/}/