summaryrefslogtreecommitdiffstats
path: root/kate/data/desktop.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kate/data/desktop.xml')
-rw-r--r--kate/data/desktop.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/kate/data/desktop.xml b/kate/data/desktop.xml
new file mode 100644
index 000000000..c91e6273f
--- /dev/null
+++ b/kate/data/desktop.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name=".desktop" version="1.04" kateversion="2.4" section="Configuration" extensions="*.desktop;*.kdelnk" mimetype="application/x-desktop">
+ <highlighting>
+ <contexts>
+ <context attribute="Key" lineEndContext="#stay" name="Normal">
+ <RegExpr String="\[.*\]$" attribute="Section" context="#stay" beginRegion="Section" endRegion="Section" column="0"/>
+ <RegExpr String="\[.*\]" attribute="Language" context="Value"/>
+ <DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true"/>
+ <DetectChar char="=" attribute="Normal Text" context="Value"/>
+ </context>
+ <context attribute="Normal Text" lineEndContext="#pop" name="Value"/>
+ <context attribute="Comment" lineEndContext="#pop" name="Comment"/>
+ </contexts>
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal"/>
+ <itemData name="Section" defStyleNum="dsKeyword"/>
+ <itemData name="Key" defStyleNum="dsDataType"/>
+ <itemData name="Language" defStyleNum="dsDecVal" bold="1"/>
+ <itemData name="Comment" defStyleNum="dsComment"/>
+ </itemDatas>
+ </highlighting>
+ <general>
+ <comments>
+ <comment name="singleLine" start="#"/>
+ </comments>
+ </general>
+</language>