Justin Pryzby wrote:
Package: vim
Version: 1:6.3-058+1
Severity: minor
Tags: upstream patch patch

In columns 1 (filesystem) and 3 (type), "sysfs" and "usbfs" are
presently highlighted as white on red, apparently indicating an
invalid entry:

sysfs           /sys            sysfs                           0 0
usbfs           /proc/bus/usb   usbfs   auto                    0 0

In column 4 (options), "users" is sometimes colored as invalid, and
sometimes not colored:

/dev/fd0        /floppy         auto    users,noauto            0 0

I've been unable to find how to fix NFS mounts marked as invalid:

cetus.homeunix.net:/home/pryzbyj /mnt/cetus nfs defaults,users,noauto 0 0


------------------------------------------------------------------------

--- new 2005-03-17 12:30:56.378741392 -0500
+++ orig        2005-03-17 12:31:00.727080344 -0500
@@ -19,8 +19,8 @@

 " Device
 syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError
-syn match fsDeviceError /\%([^.a-zA-Z0-9_\/#@:]\|^\w\{-}\ze\W\)/ contained
-syn keyword fsDeviceKeyword contained none proc linproc tmpfs sysfs usbfs
+syn match fsDeviceError /\%([^a-zA-Z0-9_\/[EMAIL PROTECTED]|^\w\{-}\ze\W\)/ 
contained
+syn keyword fsDeviceKeyword contained none proc linproc tmpfs
 syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
 syn match fsDeviceLabel contained /=[^ \t]\+/hs=s+1 contains=fsOperator

@@ -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 sysfs usbfs
+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

 " 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 users
+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 match fsOptionsGeneral /_netdev/

" Options: adfs

Thanks for your bug report,

If i look in my /usr/share/vim/vim63/syntax/fstab.vim then this patch is
already applied.

That is for the version in sid and sarge.

Matthijs

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to