summaryrefslogtreecommitdiffstats
path: root/kate/data/cmake.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-01-27 00:58:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-01-27 00:58:53 +0900
commit11e927c557a33c6cd331c39227bb64a1ed900119 (patch)
tree206270d399d2b9d8db1cfc73e4c72e727e224def /kate/data/cmake.xml
parentd5554fcb011b723381c20d8ddc73b93f90ee07f2 (diff)
downloadtdelibs-11e927c557a33c6cd331c39227bb64a1ed900119.tar.gz
tdelibs-11e927c557a33c6cd331c39227bb64a1ed900119.zip
Kate syntax highlight files update - Jan 2014
Diffstat (limited to 'kate/data/cmake.xml')
-rw-r--r--kate/data/cmake.xml20
1 files changed, 18 insertions, 2 deletions
diff --git a/kate/data/cmake.xml b/kate/data/cmake.xml
index 07a6a00d4..7bec01e11 100644
--- a/kate/data/cmake.xml
+++ b/kate/data/cmake.xml
@@ -5,7 +5,7 @@
Copyright 2004 Alexander Neundorf (neundorf@kde.org)
Copyright 2005 Dominik Haumann (dhdev@gmx.de)
- Copyright 2007,2008 Matthew Woehlke (mw_triad@users.sourceforge.net)
+ Copyright 2007,2008,2013 Matthew Woehlke (mw_triad@users.sourceforge.net)
Copyright 2013 Alex Turbov (i.zaufi@gmail.com)
**********************************************************************
@@ -26,7 +26,7 @@
**********************************************************************
-->
<!-- generated for "cmake version 2.8.11.1" -->
-<language name="CMake" version="1.24" kateversion="2.5" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL">
+<language name="CMake" version="1.25" kateversion="2.5" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL">
<highlighting>
<!-- ATTENTION Do not change the list name! Or change a generation script accordingly -->
@@ -783,6 +783,7 @@
<item> TARGET_LINKER_DIR </item>
<item> TARGET_SONAME_DIR </item>
<item> TARGET_PROPERTY </item>
+ <item> TARGET_OBJECTS </item>
<item> TARGET_POLICY </item>
<item> AND </item>
<item> OR </item>
@@ -815,6 +816,8 @@
<keyword attribute="Third-Party Commands" context="#stay" String="itkvtk_commands" insensitive="true"/>
<RegExpr attribute="Region Marker" context="#stay" String="#\s*BEGIN.*$" beginRegion="block" firstNonSpace="true"/>
<RegExpr attribute="Region Marker" context="#stay" String="#\s*END.*$" endRegion="block" firstNonSpace="true"/>
+ <RegExpr attribute="Region Marker" context="RST Documentation" String="^#\[(=*)\[\.rst:" column="0" />
+ <RegExpr attribute="Comment" context="Bracketed Comment" String="^#\[(=*)\[" column="0" />
<DetectChar attribute="Comment" context="Comment" char="#"/>
<IncludeRules context="Detect Variables"/>
<RegExpr attribute="Macros" context="Macro Args" String="\w+\s*(?=\()"/>
@@ -900,6 +903,7 @@
<!-- TODO Hmm... this rule looks strange... being in the Normal context -->
<StringDetect attribute="Escapes" context="#stay" String="\&quot;"/>
<DetectChar attribute="Strings" context="String" char="&quot;"/>
+ <RegExpr attribute="Strings" context="Bracketed String" String="\[(=*)\[" />
<DetectChar attribute="Comment" context="Comment" char="#"/>
<IncludeRules context="Detect Builtin Variables"/>
<IncludeRules context="Detect Variables"/>
@@ -909,12 +913,24 @@
<IncludeRules context="##Alerts" />
<IncludeRules context="##Modelines" />
</context>
+ <context attribute="Comment" lineEndContext="#stay" name="RST Documentation" dynamic="true">
+ <RegExpr attribute="Region Marker" context="#pop" String="^#?\]%1\]" dynamic="true" column="0" />
+ <IncludeRules context="##reStructuredText" />
+ </context>
+ <context attribute="Comment" lineEndContext="#stay" name="Bracketed Comment" dynamic="true">
+ <RegExpr attribute="Comment" context="#pop" String="^#?\]%1\]" dynamic="true" column="0" />
+ <IncludeRules context="##Alerts" />
+ <IncludeRules context="##Modelines" />
+ </context>
<context attribute="Strings" lineEndContext="#stay" name="String">
<RegExpr attribute="Strings" context="#pop" String="&quot;(?=[ );]|$)" />
<RegExpr attribute="Escapes" context="#stay" String="\\[&quot;$n\\]" />
<IncludeRules context="Detect Variables"/>
<IncludeRules context="Detect Generator Expressions"/>
</context>
+ <context attribute="Strings" lineEndContext="#stay" name="Bracketed String" dynamic="true">
+ <RegExpr attribute="Strings" context="#pop" String="\]%1\]" dynamic="true" />
+ </context>
</contexts>
<itemDatas>