summaryrefslogtreecommitdiffstats
path: root/kate/data/go.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-07-28 19:12:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-07-28 19:12:40 +0900
commitaa18c1556b6e122f4b414639cf091e1e3848b974 (patch)
treed6e4f87bbb5fe01930418319e474ba923a750dfa /kate/data/go.xml
parent1bb6f88d298d1019c0c635dbff197a6a57d16c26 (diff)
downloadtdelibs-aa18c1556b6e122f4b414639cf091e1e3848b974.tar.gz
tdelibs-aa18c1556b6e122f4b414639cf091e1e3848b974.zip
Kate syntax highlighting files update - Jul 2014
Diffstat (limited to 'kate/data/go.xml')
-rw-r--r--kate/data/go.xml35
1 files changed, 20 insertions, 15 deletions
diff --git a/kate/data/go.xml b/kate/data/go.xml
index c864b92e3..d657d2a41 100644
--- a/kate/data/go.xml
+++ b/kate/data/go.xml
@@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
-->
-<language name="Go" version="1.04-1" kateversion="2.4" section="Sources" indenter="cstyle" extensions="*.go" author="Miquel Sabaté (mikisabate@gmail.com)" license="GPL">
+<language name="Go" version="1.05-1" kateversion="2.4" section="Sources" indenter="cstyle" extensions="*.go" author="Miquel Sabaté (mikisabate@gmail.com)" license="GPL">
<highlighting>
<list name="keywords">
<!-- Keywords have been taken from The Go Programming Language Specification -> Keywords section -->
@@ -103,20 +103,23 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</list>
<contexts>
<context name="normal" attribute="Normal Text" lineEndContext="#stay">
- <keyword attribute="Keyword" context="#stay" String="keywords" />
- <keyword attribute="Predeclared Identifier" context="#stay" String="predeclared" />
- <keyword attribute="Data Type" context="#stay" String="types" />
- <keyword attribute="Builtin Function" context="#stay" String="builtin" />
- <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
- <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
- <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/" />
- <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" />
- <HlCOct attribute="Octal" context="#stay"/>
- <HlCHex attribute="Hex" context="#stay"/>
- <HlCChar attribute="Char" context="#stay" />
- <DetectChar attribute="String" context="String" char="&quot;" />
- <DetectChar attribute="String" context="Multiline String" char="`"/>
- <AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/.*&lt;=&gt;?[]|~^&#59;"/>
+ <keyword attribute="Keyword" context="#stay" String="keywords" />
+ <keyword attribute="Predeclared Identifier" context="#stay" String="predeclared" />
+ <keyword attribute="Data Type" context="#stay" String="types" />
+ <keyword attribute="Builtin Function" context="#stay" String="builtin" />
+ <DetectIdentifier />
+ <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
+ <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
+ <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/" />
+ <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" />
+ <Int attribute="Decimal" context="#stay" />
+ <Float attribute="Float" context="#stay" />
+ <HlCOct attribute="Octal" context="#stay"/>
+ <HlCHex attribute="Hex" context="#stay"/>
+ <HlCChar attribute="Char" context="#stay" />
+ <DetectChar attribute="String" context="String" char="&quot;" />
+ <DetectChar attribute="String" context="Multiline String" char="`"/>
+ <AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/.*&lt;=&gt;?[]|~^&#59;"/>
</context>
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
@@ -154,8 +157,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<itemData name="String Char" defStyleNum="dsChar" />
<itemData name="String" defStyleNum="dsString" />
<itemData name="Comment" defStyleNum="dsComment" />
+ <itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false"/>
<itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false"/>
<itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false"/>
+ <itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>
<itemData name="Char" defStyleNum="dsChar" spellChecking="false"/>
<itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false"/>
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>