summaryrefslogtreecommitdiffstats
path: root/kate/data/wml.xml
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-03-03 21:48:37 +0900
committerMichele Calgaro <[email protected]>2019-03-03 22:05:24 +0900
commitddacb54a1ed6a8e048c79064171ef9a4d7ecf570 (patch)
tree7ef6929835a1938ee98eddc4ed59ef2d55312b31 /kate/data/wml.xml
parent9ce98047ff565d235ce9499fddb76995b10845ed (diff)
downloadtdelibs-ddacb54a1ed6a8e048c79064171ef9a4d7ecf570.tar.gz
tdelibs-ddacb54a1ed6a8e048c79064171ef9a4d7ecf570.zip
Update Kate syntax highlight files from
http://kate-editor.org/syntax/2.5/ sources. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b956734b51a178ba083848672b006aa325217381)
Diffstat (limited to 'kate/data/wml.xml')
-rw-r--r--kate/data/wml.xml17
1 files changed, 8 insertions, 9 deletions
diff --git a/kate/data/wml.xml b/kate/data/wml.xml
index e3ce172f2..433649c16 100644
--- a/kate/data/wml.xml
+++ b/kate/data/wml.xml
@@ -54,14 +54,14 @@
* Made the new #ifndef directive be recognized (implemented on Wesnoth 1.3.11 and later)
-->
-<language name="Wesnoth Markup Language" section="Markup" extensions="*.cfg;*.pbl;*.CFG;*.PBL" version="1"
+<language name="Wesnoth Markup Language" section="Markup" extensions="*.cfg;*.pbl;*.CFG;*.PBL" version="3"
kateversion="2.3" casesensitive="true" author="Zachary Palmer ([email protected]), modif. by Ignacio Riquelme Morelle ([email protected]) and Jonathan Schmidt-DominĂ© ([email protected])" license="GPL">
<highlighting>
<list name="alerts_wml_utils">
- <item> wmllint</item>
- <item> wmlindent</item>
- <item> wmlscope</item>
- <item> po</item>
+ <item>wmllint</item>
+ <item>wmlindent</item>
+ <item>wmlscope</item>
+ <item>po</item>
</list>
<list name="preprocessor_directive_statements">
<item>#textdomain</item>
@@ -100,7 +100,7 @@
<!--<DetectChar char="[" attribute="WML Node" context="section" firstNonSpace="true" />-->
<RegExpr String="\[(?!/)" attribute="WML Node" context="section" beginRegion="wml_node" />
- <RegExpr String="\[/" attribute="WML Node" context="section" endRegion="wml_node" />
+ <Detect2Chars char="[" char1="/" attribute="WML Node" context="section" endRegion="wml_node" />
<RegExpr String="(\w|,| )+=" attribute="WML Attribute" context="value"
lookAhead="true" />
@@ -116,12 +116,12 @@
</context>
<context attribute="String" name="luastring" lineEndContext="#stay">
- <RegExpr String="&gt;&gt;" attribute="String" context="#pop" endRegion="wml_lua" />
+ <Detect2Chars char="&gt;" char1="&gt;" attribute="String" context="#pop" endRegion="wml_lua" />
<IncludeRules context="##Lua" includeAttrib="true"/>
</context>
<context attribute="Macro String" name="luamacrostring" lineEndContext="#stay">
- <RegExpr String="&gt;&gt;" attribute="Macro String" context="#pop" endRegion="wml_lua" />
+ <Detect2Chars char="&gt;" char1="&gt;" attribute="Macro String" context="#pop" endRegion="wml_lua" />
<IncludeRules context="##Lua" includeAttrib="true"/>
</context>
@@ -187,7 +187,6 @@
</contexts>
<itemDatas>
<itemData name="Normal WML Text" defStyleNum="dsNormal" />
- <itemData name="Normal Text" defStyleNum="dsString" /> <!--For Pango-->
<itemData name="Maintenance script statement" defStyleNum="dsAlert"/>
<itemData name="String" defStyleNum="dsString" />
<itemData name="Comment" defStyleNum="dsComment" />