Subject: Re: patch for vim's /etc/fstab syntax highlighting
To: None <tech-pkg@netbsd.org, jmmv84@gmail.com>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 06/03/2005 15:25:03
--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I put the "softdep" option in a separate "Options: ffs" section since it
only makes sense on this filesystem.  Ok, I could take this even further
(e.g. async not being valid on lfs etc), but this would make things too
complicated.  

GH

-- 
:wq

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ab

--- /usr/obj/pkgsrc/editors/vim-share/work/vim63/runtime/syntax/fstab.vim	2003-04-30 15:36:32.000000000 +0200
+++ /usr/pkg/share/vim/vim63/syntax/fstab.vim	2005-06-03 15:18:07.000000000 +0200
@@ -32,7 +32,7 @@
 " Type
 syn cluster fsTypeCluster contains=fsTypeKeyword,fsTypeError
 syn match fsTypeError /\s\+\zs\w\+/ contained
-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
+syn keyword fsTypeKeyword contained adfs ados affs auto autofs cd9660 coda cramfs devfs devpts efs ext2 ext2fs ext3 fdesc ffs filecore hfs hpfs iso9660 kernfs lfs linprocfs mfs minix msdos ncpfs nfs ntfs nwfs null overlay portal proc procfs ptyfs qnx4 reiserfs romfs smbfs std sysv swap tmpfs udf ufs umap umsdos union vfat xfs
 
 " Options
 " -------
@@ -44,7 +44,7 @@
 syn keyword fsOptionsYesNo yes no
 syn cluster fsOptionsCheckCluster contains=fsOptionsExt2Check,fsOptionsFatCheck
 syn keyword fsOptionsSize 512 1024 2048
-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
+syn keyword fsOptionsGeneral async atime auto current defaults dev devmtime exec force fstab noatime noauto noclusterr noclusterw nodev nodevmtime noexec nosuid nosymfollow nouser owner ro rdonly rw rq sw xx suid suiddir sync kudzu union update user supermount
 syn match fsOptionsGeneral /_netdev/
 
 " Options: adfs
@@ -91,6 +91,9 @@
 syn keyword fsOptionsFatType contained 12 16 32
 syn keyword fsOptionsKeywords contained quiet sys_immutable showexec dots nodots
 
+" Options: ffs
+syn keyword fsOptionsKeyWords contained softdep
+
 " Options: hpfs
 syn match fsOptionsKeywords contained /case=/ nextgroup=fsOptionsHpfsCase
 syn keyword fsOptionsHpfsCase contained lower asis

--9amGYk9869ThD9tj--