<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name=".desktop" version="1.05" kateversion="2.4"
          section="Configuration" extensions="*.desktop;*.kdelnk;*.desktop.cmake"
          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>
