Commit 98bc350e authored by Leandro Melo's avatar Leandro Melo
Browse files

New mime type alias for javascript.

Currently the Kate javascript definition file specifies text/x-javascript as a mime type. Added this to QmlJSEditor.mimetypes.xml so the generic highlighter is not picked for javascript files.
parent ec6fc83c
......@@ -8,6 +8,7 @@
<mime-type type="application/javascript">
<alias type="application/x-javascript"/>
<alias type="text/javascript"/>
<alias type="text/x-javascript"/>
<sub-class-of type="text/plain"/>
<comment>Qt Script file</comment>
<glob pattern="*.js"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment