diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
commit | 87fd132d0145d36d9eae9cdf521935202db228f7 (patch) | |
tree | 8e8126d831ffd90f38c34e49cdaec9b134086a8a /kate/data/haskell.xml | |
parent | 2824570e9e6581acc1b9ed81a8889ff5f58dd383 (diff) | |
download | tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.tar.gz tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.zip |
Kate syntax highlighting files update - Sep 2014
Diffstat (limited to 'kate/data/haskell.xml')
-rw-r--r-- | kate/data/haskell.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kate/data/haskell.xml b/kate/data/haskell.xml index 49583a116..104e43dda 100644 --- a/kate/data/haskell.xml +++ b/kate/data/haskell.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Haskell" version="2.2" kateversion="2.3" section="Sources" extensions="*.hs;*.chs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell"> +<language name="Haskell" version="2.4" kateversion="2.3" section="Sources" extensions="*.hs;*.chs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell" style="haskell"> <highlighting> <list name="keywords"> <item> case </item> @@ -343,8 +343,10 @@ <RegExpr attribute="Operator" context="#stay" String="([A-Z][a-zA-Z0-0_']*\.)*[\-!#\$%&\*\+/<=>\?\@\^\|~\.:]+" /> <RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" /> + <RegExpr attribute="Float" context="#stay" String ="\d+\.\d+([Ee][+-]?\d+)?|\d+[Ee][+-]?\d+"/> + <RegExpr attribute="Octal" context="#stay" String="0[Oo][0-7]+"/> + <RegExpr attribute="Hex" context="#stay" String="0[Xx][0-9A-Fa-f]+"/> <Int attribute="Decimal" context="#stay" /> - <RegExpr attribute="Float" context="#stay" String="\d+\.\d+" /> <DetectChar attribute="Char" context="char" char="'" /> <DetectChar attribute="String" context="string" char=""" /> @@ -430,6 +432,8 @@ <itemData name="Type" defStyleNum="dsDataType" spellChecking="false" /> <itemData name="Special" defStyleNum="dsOthers" spellChecking="false" /> + <itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false" /> + <itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false" /> <itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false" /> <itemData name="Float" defStyleNum="dsFloat" spellChecking="false" /> <itemData name="Char" defStyleNum="dsChar" spellChecking="false" /> |