summaryrefslogtreecommitdiffstats
path: root/kate/data/git-ignore.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-09-19 14:44:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-09-19 14:44:45 +0900
commit87fd132d0145d36d9eae9cdf521935202db228f7 (patch)
tree8e8126d831ffd90f38c34e49cdaec9b134086a8a /kate/data/git-ignore.xml
parent2824570e9e6581acc1b9ed81a8889ff5f58dd383 (diff)
downloadtdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.tar.gz
tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.zip
Kate syntax highlighting files update - Sep 2014
Diffstat (limited to 'kate/data/git-ignore.xml')
-rw-r--r--kate/data/git-ignore.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/kate/data/git-ignore.xml b/kate/data/git-ignore.xml
new file mode 100644
index 000000000..ab4a7841b
--- /dev/null
+++ b/kate/data/git-ignore.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name="Git Ignore" version="0.1" kateversion="2.4" section="Configuration" extensions=".gitignore*;" mimetype="text/x-git-ignore" license="LGPL">
+ <highlighting>
+ <contexts>
+
+ <context name="ini" attribute="Normal Text" lineEndContext="#pop">
+ <DetectChar char="#" attribute="Comment" context="Comment" />
+ <RegExpr attribute="Include" String="^!.*" context="Include"/>
+ <RegExpr attribute="Exclude" String=".*" context="Exclude" />
+ </context>
+
+ <context name="Comment" attribute="Comment" lineEndContext="#pop">
+ <DetectSpaces />
+ </context>
+
+ <context name="Include" attribute="Include" lineEndContext="#pop">
+ </context>
+
+ <context name="Exclude" attribute="Exclude" lineEndContext="#pop">
+ </context>
+
+ </contexts>
+
+ <itemDatas>
+ <itemData name="Comment" defStyleNum="dsComment" />
+ <itemData name="Exclude" defStyleNum="dsString" />
+ <itemData name="Include" defStyleNum="dsChar" />
+ </itemDatas>
+
+ </highlighting>
+
+ <general>
+ <comments>
+ <comment name="singleLine" start="#" />
+ </comments>
+ <keywords casesensitive="0" />
+ </general>
+</language>
+