You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/kate/data/desktop.xml

31 lines
1.3 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name=".desktop" version="1.05-1" kateversion="2.4"
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>