summaryrefslogtreecommitdiffstats
path: root/kate/data/fstab.xml
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /kate/data/fstab.xml
downloadtdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz
tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/fstab.xml')
-rw-r--r--kate/data/fstab.xml96
1 files changed, 96 insertions, 0 deletions
diff --git a/kate/data/fstab.xml b/kate/data/fstab.xml
new file mode 100644
index 000000000..c2e1b21c6
--- /dev/null
+++ b/kate/data/fstab.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+
+<language name="fstab" version="1.00" kateversion="2.4" 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>
+