diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 16:14:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 16:14:23 -0600 |
commit | 7439a4b0e05832e047040ab8bf9ef13abd9288b2 (patch) | |
tree | 3a15e3033fa66b2d947daa14e6807b39f3dc84d1 /kate/data/json.xml | |
parent | 783973a7d6910fee50d90fcfaf439ae3bbb15b8c (diff) | |
download | tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.tar.gz tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.zip |
Update kate synatax highlighting files
This closes Bug 764
Diffstat (limited to 'kate/data/json.xml')
-rw-r--r-- | kate/data/json.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/kate/data/json.xml b/kate/data/json.xml index 8dda5c0e7..074486edc 100644 --- a/kate/data/json.xml +++ b/kate/data/json.xml @@ -12,9 +12,9 @@ ** http://tools.ietf.org/html/rfc4627 *************************************************************************** --> -<language name="JSON" section="Markup" version="1.00" kateversion="2.3" extensions="*.json" mimetype="application/json" author="Sebastian Pipping (webmaster@hartwork.org)" license="GPL"> +<language name="JSON" section="Markup" version="1.2" kateversion="2.3" extensions="*.json" mimetype="application/json" author="Sebastian Pipping (sebastian@pipping.org)" license="GPL"> <highlighting> - <list name="Constants"> + <list name="Constants"> <item>null</item> <item>true</item> <item>false</item> @@ -23,6 +23,9 @@ <contexts> <context name="Normal" lineEndContext="#stay" attribute="Style_Error"> <DetectChar char="{" context="Pair" beginRegion="Region_Object" attribute="Style_Seperator_Pair" /> + <DetectChar char="[" context="Array" beginRegion="Region_Array" attribute="Style_Seperator_Array" /> + + <DetectSpaces context="#stay" attribute="Style_Normal" /> </context> <context name="Pair" lineEndContext="#stay" attribute="Style_Error"> @@ -64,6 +67,7 @@ <DetectChar char="]" context="#pop" endRegion="Region_Array" attribute="Style_Seperator_Array" /> <DetectChar char="{" context="Pair" beginRegion="Region_Object" attribute="Style_Seperator_Pair" /> + <DetectChar char="[" context="Array" beginRegion="Region_Array" attribute="Style_Seperator_Array" /> <DetectChar char=""" context="String_Value" attribute="Style_String_Value" /> <DetectSpaces context="#stay" attribute="Style_Normal" /> @@ -88,9 +92,9 @@ <itemData name="Style_String_Key_Char" defStyleNum="dsDataType" underline="1" /> <itemData name="Style_String_Value_Char" defStyleNum="dsString" color="#FF00FF" underline="1" /> - <itemData name="Style_Keyword" defStyleNum="dsDecVal" bold="1" /> + <itemData name="Style_Keyword" defStyleNum="dsDecVal" bold="1" /> - <itemData name="Style_Error" defStyleNum="dsError" /> + <itemData name="Style_Error" defStyleNum="dsError" /> </itemDatas> </highlighting> </language> |