diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2017-01-30 00:22:38 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2017-01-30 00:23:27 +0900 |
commit | b14a2da3b92460ef7dddbc98b4a794d61840a97c (patch) | |
tree | 1ad61a3a134e2f3310819fe6f532980407664899 /kate/data/javascript.xml | |
parent | 04bf525b5fa9ba188e1d3c98a5ec6b46c4163605 (diff) | |
download | tdelibs-b14a2da3b92460ef7dddbc98b4a794d61840a97c.tar.gz tdelibs-b14a2da3b92460ef7dddbc98b4a794d61840a97c.zip |
Fixed javascript syntax highlighting in Kate
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/data/javascript.xml')
-rw-r--r-- | kate/data/javascript.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kate/data/javascript.xml b/kate/data/javascript.xml index c9b5f4bcc..e90f0b051 100644 --- a/kate/data/javascript.xml +++ b/kate/data/javascript.xml @@ -3,7 +3,7 @@ <!-- Author: Anders Lund <anders@alweb.dk> //--> <!-- Minor changes: Joseph Wenninger <jowenn@kde.org> //--> <!-- Full JavaScript 1.0 support by Whitehawk Stormchaser //--> -<language name="JavaScript" version="1.22" kateversion="2.4" section="Scripts" extensions="*.js;*.kwinscript" +<language name="JavaScript" version="1.22-1" kateversion="2.4" section="Scripts" extensions="*.js;*.kwinscript" mimetype="text/x-javascript;application/x-javascript" indenter="cstyle" author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license=""> <highlighting> @@ -73,6 +73,7 @@ --> <context name="Shebang" lineEndContext="Normal" attribute="Syntax Error" fallthrough="true" fallthroughContext="Normal" > <Detect2Chars column="0" char="#" char1="!" context="Comment" attribute="Comment" /> + <IncludeRules context="Normal" /> </context> <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> |