diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-01-09 00:24:34 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-09 00:24:34 +0100 |
commit | bf4e405e03859bf383f55715944f4f71bd338c34 (patch) | |
tree | 293783d05c079b477b9ef396bbd851ca01714e2d /kate/data/git-rebase.xml | |
parent | c5189a79b8621b38b53e3cec952d49630e16dd3a (diff) | |
download | tdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.tar.gz tdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.zip |
Update kate syntax highlight files
Diffstat (limited to 'kate/data/git-rebase.xml')
-rw-r--r-- | kate/data/git-rebase.xml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/kate/data/git-rebase.xml b/kate/data/git-rebase.xml new file mode 100644 index 000000000..d0197fe9f --- /dev/null +++ b/kate/data/git-rebase.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Git Rebase" version="1.01" kateversion="2.5" section="Other" extensions="git-rebase-todo" license="LGPL" mimetype="text/vnd.git.rebase" author="Orgad Shaneh (orgads@gmail.com)"> + <highlighting> + <list name="pick"> + <item>p</item> + <item>pick</item> + </list> + <list name="reword"> + <item>r</item> + <item>reword</item> + </list> + <list name="edit"> + <item>e</item> + <item>edit</item> + </list> + <list name="squash"> + <item>s</item> + <item>squash</item> + </list> + <list name="fixup"> + <item>f</item> + <item>fixup</item> + </list> + <list name="exec"> + <item>x</item> + <item>exec</item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#pop" name="Normal"> + <DetectChar char="#" attribute="Comment" context="Comment" column="0"/> + <keyword attribute="Pick" context="Commit" String="pick" /> + <keyword attribute="Reword" context="Commit" String="reword" /> + <keyword attribute="Edit" context="Commit" String="edit" /> + <keyword attribute="Squash" context="Commit" String="squash" /> + <keyword attribute="Fixup" context="Commit" String="fixup" /> + <keyword attribute="Exec" context="Commit" String="exec" /> + </context> + <context attribute="Commit" lineEndContext="#pop" name="Commit"> + <RegExpr attribute="Commit" context="Summary" String="[0-9a-f]{7,40}" /> + </context> + <context attribute="Summary" lineEndContext="#pop" name="Summary" /> + <context attribute="Comment" lineEndContext="#pop" name="Comment"> + <RegExpr attribute="Commit" context="#stay" String="[0-9a-f]{7,40}" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Pick" defStyleNum="dsKeyword"/> + <itemData name="Reword" defStyleNum="dsDecVal"/> + <itemData name="Edit" defStyleNum="dsDataType"/> + <itemData name="Squash" defStyleNum="dsChar"/> + <itemData name="Fixup" defStyleNum="dsBaseN"/> + <itemData name="Exec" defStyleNum="dsOthers"/> + <itemData name="Commit" defStyleNum="dsFunction"/> + <itemData name="Summary" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#"/> + </comments> + </general> +</language> |