Subject: patch for vim's /etc/fstab syntax highlighting
To: None <tech-pkg@netbsd.org>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 05/21/2005 13:33:57
--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Currently Vim (with syntax highlighting turned on) marks "ffs" and "lfs"
in /etc/fstab as unknown filesystem types.  So I sent a very simple
patch for the fstab syntax file to the vim people, but they responded
that this file is unmaintained, and will not get updated before vim7.  

So I created a patch to include in pkgsrc/editors/vim-share/patches to
make Vim recognize the FFS and LFS filesystems. :-)  

GH

-- 
:wq

--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ae

$Id$

--- runtime/syntax/fstab.vim.orig	2005-05-21 13:20:28.000000000 +0200
+++ runtime/syntax/fstab.vim	2005-05-21 13:21:03.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 affs auto autofs cd9660 coda cramfs devfs devpts efs ext2 ext3 fdesc ffs hfs hpfs iso9660 kernfs lfs 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
 
 " Options
 " -------

--HcAYCG3uE/tztfnV--