View | Details | Raw Unified | Return to bug 8522
Collapse All | Expand All

(-)/usr/share/vim/syntax/fstab.vim (-3 / +3 lines)
Lines 20-26 Link Here
20
" Device
20
" Device
21
syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError
21
syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError
22
syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@]\|^\w\{-}\ze\W\)/ contained
22
syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@]\|^\w\{-}\ze\W\)/ contained
23
syn keyword fsDeviceKeyword contained none proc linproc tmpfs
23
syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts
24
syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
24
syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
25
syn match fsDeviceLabel contained /=[^ \t]\+/hs=s+1 contains=fsOperator
25
syn match fsDeviceLabel contained /=[^ \t]\+/hs=s+1 contains=fsOperator
26
26
Lines 32-38 Link Here
32
" Type
32
" Type
33
syn cluster fsTypeCluster contains=fsTypeKeyword,fsTypeError
33
syn cluster fsTypeCluster contains=fsTypeKeyword,fsTypeError
34
syn match fsTypeError /\s\+\zs\w\+/ contained
34
syn match fsTypeError /\s\+\zs\w\+/ contained
35
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
35
syn keyword fsTypeKeyword contained adfs affs auto autofs cd9660 coda cifs 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
36
36
37
" Options
37
" Options
38
" -------
38
" -------
Lines 44-50 Link Here
44
syn keyword fsOptionsYesNo yes no
44
syn keyword fsOptionsYesNo yes no
45
syn cluster fsOptionsCheckCluster contains=fsOptionsExt2Check,fsOptionsFatCheck
45
syn cluster fsOptionsCheckCluster contains=fsOptionsExt2Check,fsOptionsFatCheck
46
syn keyword fsOptionsSize 512 1024 2048
46
syn keyword fsOptionsSize 512 1024 2048
47
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
47
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
48
syn match fsOptionsGeneral /_netdev/
48
syn match fsOptionsGeneral /_netdev/
49
49
50
" Options: adfs
50
" Options: adfs

Return to bug 8522