summaryrefslogtreecommitdiffstats
path: root/kate/data/gitolite.xml
blob: 2d6743ae802eadca4a5404f2a4203fb02ec524d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?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>

</language>