diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
commit | 87fd132d0145d36d9eae9cdf521935202db228f7 (patch) | |
tree | 8e8126d831ffd90f38c34e49cdaec9b134086a8a /kate/data/gitolite.xml | |
parent | 2824570e9e6581acc1b9ed81a8889ff5f58dd383 (diff) | |
download | tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.tar.gz tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.zip |
Kate syntax highlighting files update - Sep 2014
Diffstat (limited to 'kate/data/gitolite.xml')
-rw-r--r-- | kate/data/gitolite.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/kate/data/gitolite.xml b/kate/data/gitolite.xml new file mode 100644 index 000000000..63e21bc17 --- /dev/null +++ b/kate/data/gitolite.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language version="0.1" kateversion="2.4" name="Gitolite" section="Configuration" extensions="gitolite.conf" author="Andor Dávid (david-andor@kozpontiagy.hu)" license="GPL"> + <highlighting> + <list name="keywords"> + <item>repo</item> + </list> + + <contexts> + <context name="Normal Text" attribute="Normal Text" lineEndContext="#pop"> + <DetectChar context="SingleLineComment" char="#" /> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <RegExpr attribute="Group" context="#stay" String="\@[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*" /> + <RegExpr attribute="Symbol" context="Value" String="=" /> + </context> + + <context name="SingleLineComment" attribute="Comment (Single)" lineEndContext="#pop" ></context> + + <context name="Value" attribute="Value" lineEndContext="#pop"> + <RegExpr attribute="Group" context="#stay" String="\@[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*" /> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Comment (Single)" defStyleNum="dsComment" /> + <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" /> + <itemData name="Group" defStyleNum="dsKeyword" spellChecking="false" /> + <!-- <itemData name="Refs" defStyleNum="dsKeyword" spellChecking="false" /> --> + <itemData name="Symbol" defStyleNum="dsString" /> + </itemDatas> + </highlighting> + + <general> + <keywords casesensitive="1" /> + + <comments> + <comment name="singleLine" start="#" /> + </comments> + + </general> + + <!-- kate: space-indent on indent-width 2 replace-tabs on indent-mode xml --> +</language> |