vim/vim-7.0-highlight_fstab.patch

19 lines
1.1 KiB
Diff

--- vim70/runtime/syntax/fstab.vim.orig 2006-04-16 18:01:27.000000000 +0200
+++ vim70/runtime/syntax/fstab.vim 2006-07-11 15:37:50.000000000 +0200
@@ -26,6 +26,7 @@
syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@:]\|^\w\{-}\ze\W\)/ contained
syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts sysfs usbfs
syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
+syn match fsDeviceKeyword /[a-z0-9_]*fs/ contained
syn match fsDeviceLabel contained /=[^ \t]\+/hs=s+1 contains=fsOperator
" Mount Point
@@ -37,6 +38,7 @@
syn cluster fsTypeCluster contains=fsTypeKeyword,fsTypeUnknown
syn match fsTypeUnknown /\s\+\zs\w\+/ contained
syn keyword fsTypeKeyword contained adfs affs atfs audiofs auto autofs befs bfs cd9660 cfs cifs coda cramfs devfs devpts e2compr efs ext2 ext3 fdesc hfs hpfs iso9660 jffs jffs2 jfs kernfs linprocfs mfs minix msdos ncpfs nfs none none ntfs null nwfs ovlfs portal proc procfs qnx4 reiserfs romfs shm smbfs std subfs swap sysfs sysv tcfs tmpfs udf ufs umap umsdos union usbfs userfs vfat vs3fs vxfs wrapfs wvfs xfs zisofs
+syn match fsTypeKeyword /[a-z0-9_]*fs/ contained
" Options
" -------