blob: b6cf5780cbed1f86ab3415394fb7b260516149cf (
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="fstab" version="1.01" kateversion="2.5" section="Configuration" extensions="fstab;mtab" author="Diego Iastrubni (elcuco@kde.org)" license="Public Domain" >
<highlighting>
<list name="valid_fs">
<item> ext2 </item>
<item> ext3 </item>
<item> fat </item>
<item> vfat </item>
<item> reiser </item>
<item> proc </item>
<item> none </item>
<item> sysfs </item>
<item> ntfs </item>
<item> umsdos </item>
<item> swap </item>
<item> minix </item>
<item> iso9660 </item>
</list>
<contexts>
<!-- <file system> <mount point> <type> <options> <dump> <pass> -->
<context name="device" attribute="Device" lineEndContext="#stay">
<DetectChar context="comment" char="#" firstNonSpace="1" />
<RegExpr context="mount_point" String="[\s]*" />
</context>
<context name="mount_point" attribute="Mount Point" lineEndContext="device" >
<DetectChar context="comment" char="#" firstNonSpace="1" />
<RegExpr context="_type" String="[\s]*" />
</context>
<context name="_type" attribute="Normal" lineEndContext="device" >
<DetectChar context="comment" char="#" firstNonSpace="1" />
<RegExpr context="type" String="[\S]*" />
</context>
<context name="type" attribute="Type" lineEndContext="device" >
<DetectChar context="comment" char="#" firstNonSpace="1" />
<keyword context="#stay" attribute="Valid FileSystem" String="Valid FileSystem" />
<RegExpr context="options" String="[\s]*"/>
</context>
<context name="options" attribute="Options" lineEndContext="device" >
<DetectChar context="comment" char="#" firstNonSpace="1" />
<RegExpr context="dump" String="[\s]*"/>
</context>
<context name="dump" attribute="Dump" lineEndContext="device" >
<DetectChar context="comment" char="#" firstNonSpace="1" />
<RegExpr context="pass" String="[\s]*"/>
</context>
<context name="pass" attribute="Pass" lineEndContext="device" >
<DetectChar context="comment" char="#" firstNonSpace="1" />
<RegExpr context="__error" String="[\s]*"/>
</context>
<context name="__error" attribute="Pass" lineEndContext="device" >
<DetectChar context="comment" char="#" />
<RegExpr context="error" String="[\S]*"/>
</context>
<!-- error -->
<context name="error" attribute="Error" lineEndContext="device" >
</context>
<!-- comment -->
<context name="comment" attribute="Comment" lineEndContext="#pop" >
</context>
</contexts>
<itemDatas>
<itemData name="Device" defStyleNum="dsKeyword" />
<itemData name="Mount Point" defStyleNum="dsDataType" />
<itemData name="Type" defStyleNum="dsFunction" />
<itemData name="Options" defStyleNum="dsKeyword" />
<itemData name="Dump" defStyleNum="dsDecVal" />
<itemData name="Pass" defStyleNum="dsDecVal" />
<itemData name="Valid FileSystem" defStyleNum="dsDataType" italic="1"/>
<itemData name="Normal" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Error" defStyleNum="dsError" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="#" />
</comments>
</general>
</language>
|