]> git.pld-linux.org Git - packages/vim.git/blob - vim-syntax-fstab.patch
- add options for usbfs and swap fstype
[packages/vim.git] / vim-syntax-fstab.patch
1 --- vim63/runtime/syntax/fstab.vim~     2003-04-30 15:36:32.000000000 +0200
2 +++ vim63/runtime/syntax/fstab.vim      2005-08-09 19:09:15.996162056 +0200
3 @@ -32,7 +32,7 @@
4  " Type
5  syn cluster fsTypeCluster contains=fsTypeKeyword,fsTypeError
6  syn match fsTypeError /\s\+\zs\w\+/ contained
7 -syn keyword fsTypeKeyword contained adfs affs auto autofs cd9660 coda cramfs devfs devpts efs ext2 ext3 fdesc hfs hpfs iso9660 kernfs linprocfs mfs minix msdos ncpfs nfs ntfs nwfs null portal proc procfs qnx4 reiserfs romfs smbfs std sysv swap tmpfs udf ufs umap umsdos union vfat xfs
8 +syn keyword fsTypeKeyword contained adfs affs auto autofs cd9660 coda cramfs devfs devpts efs ext2 ext3 fdesc hfs hpfs iso9660 kernfs linprocfs mfs minix msdos ncpfs nfs ntfs nwfs null portal proc procfs qnx4 reiserfs romfs smbfs std sysv swap tmpfs udf ufs umap umsdos union vfat xfs sysfs usbfs cpuset none
9  
10  " Options
11  " -------
12 @@ -44,7 +44,7 @@
13  syn keyword fsOptionsYesNo yes no
14  syn cluster fsOptionsCheckCluster contains=fsOptionsExt2Check,fsOptionsFatCheck
15  syn keyword fsOptionsSize 512 1024 2048
16 -syn keyword fsOptionsGeneral async atime auto current defaults dev exec force fstab noatime noauto noclusterr noclusterw nodev noexec nosuid nosymfollow nouser owner ro rdonly rw rq sw xx suid suiddir sync kudzu union update user supermount
17 +syn keyword fsOptionsGeneral async atime auto current defaults dev exec force fstab noatime noauto noclusterr noclusterw nodev noexec nosuid nosymfollow nouser owner ro rdonly rw rq sw xx suid suiddir sync kudzu union update user supermount bind tagxid
18  syn match fsOptionsGeneral /_netdev/
19  
20  " Options: adfs
21 --- vim64/runtime/syntax/fstab.vim      2005-12-04 22:37:13.000000000 +0200
22 +++ /tmp/fstab.vim      2005-12-04 22:35:12.000000000 +0200
23 @@ -44,7 +44,7 @@
24  syn keyword fsOptionsYesNo yes no
25  syn cluster fsOptionsCheckCluster contains=fsOptionsExt2Check,fsOptionsFatCheck
26  syn keyword fsOptionsSize 512 1024 2048
27 -syn keyword fsOptionsGeneral async atime auto current defaults dev exec force fstab noatime noauto noclusterr noclusterw nodev noexec nosuid nosymfollow nouser owner ro rdonly rw rq sw xx suid suiddir sync kudzu union update user supermount bind tagxid
28 +syn keyword fsOptionsGeneral async atime auto current defaults dev exec force fstab noatime noauto noclusterr noclusterw nodev noexec nosuid nosymfollow nouser owner ro rdonly rw rq sw xx suid suiddir sync kudzu union update user users supermount bind tagxid
29  syn match fsOptionsGeneral /_netdev/
30  
31  " Options: adfs
32 @@ -134,6 +134,10 @@
33  syn match fsOptionsUfsType contained /nextstep-cd/
34  syn keyword fsOptionsUfsError contained panic lock umount repair
35  
36 +" Options: usbfs
37 +syn match fsOptionsKeywords contained /devmode=/ nextgroup=fsOptionsNumberOctal
38 +syn match fsOptionsKeywords contained /devgid=/ nextgroup=fsOptionsNumber
39 +
40  " Options: vfat
41  syn keyword fsOptionsKeywords contained nonumtail posix utf8
42  syn match fsOptionsKeywords contained /shortname=/ nextgroup=fsOptionsVfatShortname
43 @@ -143,6 +147,9 @@
44  syn match fsOptionsKeywords contained /\%(biosize\|logbufs\|logbsize\|logdev\|rtdev\|sunit\|swidth\)=/ nextgroup=fsOptionsString
45  syn keyword fsOptionsKeywords contained dmapi xdsm noalign noatime norecovery osyncisdsync quota usrquota uquoenforce grpquota gquoenforce
46  
47 +" Options: swap
48 +syn match fsOptionsKeywords contained /pri=/ nextgroup=fsOptionsNumber
49 +
50  " Frequency / Pass No.
51  syn cluster fsFreqPassCluster contains=fsFreqPassNumber,fsFreqPassError
52  syn match fsFreqPassError /\s\+\zs\%(\D.*\|\S.*\|\d\+\s\+[^012]\)\ze/ contained
This page took 0.478456 seconds and 4 git commands to generate.