summaryrefslogtreecommitdiffstats
path: root/kate/data/desktop.xml
blob: 059d891c4403331d74f4d6a30690b4d1811a1077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name=".desktop" version="1.07" kateversion="2.5"
          section="Configuration" extensions="*.desktop;*.kdelnk;*.desktop.cmake;*.protocol"
          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>