blob: 08e00b072c605138ac720aa6db380632e420f44a (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Bash" section="Scripts" extensions="" mimetype="text/x-shellscript">
<highlighting>
<list name = "keywords">
<item> break </item>
<item> case </item>
<item> done </item>
<item> do </item>
<item> elif </item>
<item> else </item>
<item> esac </item>
<item> exit </item>
<item> export </item>
<item> fi </item>
<item> for </item>
<item> function </item>
<item> if </item>
<item> in </item>
<item> return </item>
<item> select </item>
<item> then </item>
<item> until </item>
<item> while </item>
<item> . </item>
</list>
<list name = "commands">
<item> cp </item>
<item> date </item>
<item> echo </item>
<item> eval </item>
</list>
<contexts>
<context name = "Base" attribute = "Normal Text" lineEndContext="0">
<keyword String = "keywords" attribute = "Keyword" context="0"/>
<keyword String = "commands" attribute = "Command" context="0"/>
<Int attribute = "Decimal" context="0"/>
<RegExpr String = "\$[A-Za-z0-9_?{!]+" attribute = "Parameter" context="0"/>
<RangeDetect char = """ char1 = """ attribute = "String" context="0"/>
<AnyChar String = "|<>=;" attribute = "Operator" context="0"/>
<DetectChar char="`" attribute = "Substitution" context = "2"/>
<Detect2Chars attribute="0" context="Normal Text" char="\" char1="#"/>
<RegExpr String= "#.*$" attribute = "Comment" context="0"/>
</context>
<context name = "String" attribute = "String" lineEndContext="1">
<DetectChar char = """ attribute = "String" context = "0"/>
</context>
<context name = "Substitution" attribute = "Substitution" lineEndContext="2">
<DetectChar char = "`" attribute = "Substitution" context = "0"/>
</context>
<context name = "Parameter" attribute = "Parameter" lineEndContext="3">
<RegExpr String = "\$[A-Za-z0-9_?]+" attribute = "Parameter" context="0"/>
</context>
</contexts>
<itemDatas>
<itemData name = "Normal Text" defStyleNum = "dsNormal"/>
<itemData name = "Keyword" defStyleNum = "dsKeyword"/>
<itemData name = "Decimal" defStyleNum = "dsDecVal"/>
<itemData name = "Float" defStyleNum = "dsFloat"/>
<itemData name = "Char" defStyleNum = "dsChar"/>
<itemData name = "String" defStyleNum = "dsString"/>
<itemData name = "Comment" defStyleNum = "dsComment"/>
<itemData name = "Substitution" defStyleNum = "dsOthers"/>
<itemData name = "Parameter" defStyleNum = "dsOthers"/>
<itemData name = "Operator" defStyleNum = "dsOthers"/>
<itemData name = "Command" defStyleNum = "dsNormal"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
|