summaryrefslogtreecommitdiffstats
path: root/kate/data/sml.xml
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-03-03 21:48:37 +0900
committerMichele Calgaro <[email protected]>2019-03-03 21:48:37 +0900
commitb956734b51a178ba083848672b006aa325217381 (patch)
treea602f576964c96c18c62796dadfef758c922e20f /kate/data/sml.xml
parentdfe3c9649f649f2dbd7eac60e3847d4e978e24f4 (diff)
downloadtdelibs-b956734b51a178ba083848672b006aa325217381.tar.gz
tdelibs-b956734b51a178ba083848672b006aa325217381.zip
Update Kate syntax highlight files from
http://kate-editor.org/syntax/2.5/ sources. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate/data/sml.xml')
-rw-r--r--kate/data/sml.xml124
1 files changed, 62 insertions, 62 deletions
diff --git a/kate/data/sml.xml b/kate/data/sml.xml
index 3e98f7570..7d63002ec 100644
--- a/kate/data/sml.xml
+++ b/kate/data/sml.xml
@@ -1,67 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="SML" version="2" kateversion="2.3" section="Sources" extensions="*.sml;*.ml" mimetype="" author="Christoph Cullmann ([email protected])" license="LGPL">
+<language name="SML" version="4" kateversion="2.3" section="Sources" extensions="*.sml;*.ml" mimetype="" author="Christoph Cullmann ([email protected])" license="MIT">
<highlighting>
<list name="keywords">
- <item> abstype </item>
- <item> and </item>
- <item> andalso </item>
- <item> as </item>
- <item> case </item>
- <item> do </item>
- <item> datatype </item>
- <item> else </item>
- <item> end </item>
- <item> eqtype </item>
- <item> exception </item>
- <item> false </item>
- <item> fn </item>
- <item> fun </item>
- <item> functor </item>
- <item> handle </item>
- <item> if </item>
- <item> in </item>
- <item> include </item>
- <item> infix </item>
- <item> infixr </item>
- <item> let </item>
- <item> local </item>
- <item> nonfix </item>
- <item> of </item>
- <item> op </item>
- <item> open </item>
- <item> orelse </item>
- <item> raise </item>
- <item> rec </item>
- <item> sharing </item>
- <item> sig </item>
- <item> signature </item>
- <item> struct </item>
- <item> structure </item>
- <item> then </item>
- <item> true </item>
- <item> type </item>
- <item> val </item>
- <item> where </item>
- <item> with </item>
- <item> withtype </item>
- <item> while </item>
+ <item>abstype</item>
+ <item>and</item>
+ <item>andalso</item>
+ <item>as</item>
+ <item>case</item>
+ <item>do</item>
+ <item>datatype</item>
+ <item>else</item>
+ <item>end</item>
+ <item>eqtype</item>
+ <item>exception</item>
+ <item>false</item>
+ <item>fn</item>
+ <item>fun</item>
+ <item>functor</item>
+ <item>handle</item>
+ <item>if</item>
+ <item>in</item>
+ <item>include</item>
+ <item>infix</item>
+ <item>infixr</item>
+ <item>let</item>
+ <item>local</item>
+ <item>nonfix</item>
+ <item>of</item>
+ <item>op</item>
+ <item>open</item>
+ <item>orelse</item>
+ <item>raise</item>
+ <item>rec</item>
+ <item>sharing</item>
+ <item>sig</item>
+ <item>signature</item>
+ <item>struct</item>
+ <item>structure</item>
+ <item>then</item>
+ <item>true</item>
+ <item>type</item>
+ <item>val</item>
+ <item>where</item>
+ <item>with</item>
+ <item>withtype</item>
+ <item>while</item>
</list>
<list name="types">
- <item> unit </item>
- <item> int </item>
- <item> real </item>
- <item> char </item>
- <item> string </item>
- <item> substring </item>
- <item> word </item>
- <item> ref </item>
- <item> array </item>
- <item> vector </item>
- <item> bool </item>
- <item> list </item>
- <item> option </item>
- <item> order </item>
+ <item>unit</item>
+ <item>int</item>
+ <item>real</item>
+ <item>char</item>
+ <item>string</item>
+ <item>substring</item>
+ <item>word</item>
+ <item>ref</item>
+ <item>array</item>
+ <item>vector</item>
+ <item>bool</item>
+ <item>list</item>
+ <item>option</item>
+ <item>order</item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
@@ -69,12 +69,13 @@
<DetectChar attribute="String" context="String" char="&quot;" />
<keyword attribute="Keyword" context="#stay" String="keywords" />
<keyword attribute="Data Type" context="#stay" String="types" />
- <Float attribute="Float" context="#stay">
- <AnyChar String="fF" attribute="Float" context="#stay"/>
- </Float>
+ <Float attribute="Float" context="Float Suffixes"/>
<HlCHex attribute="Decimal" context="#stay"/>
<Int attribute="Decimal" context="#stay" />
</context>
+ <context name="Float Suffixes" attribute="Float" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
+ <AnyChar String="fF" attribute="Float" context="#pop"/>
+ </context>
<context attribute="Comment" lineEndContext="#stay" name="Multiline/Inline Comment">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1=")" />
</context>
@@ -91,7 +92,6 @@
<itemData name="Float" defStyleNum="dsFloat"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="Comment" defStyleNum="dsComment" />
- <itemData name="Notice" defStyleNum="dsString" />
<itemData name="String Char" defStyleNum="dsChar" />
</itemDatas>
</highlighting>