Subject: Re: patch for vim's /etc/fstab syntax highlighting
To: None <ghen@telenet.be>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 05/21/2005 15:24:01
On Sat, 2005-05-21 at 13:33 +0200, Geert Hendrickx wrote:
> 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. :-)  

You may want to add all the other supported filesystems.  Looking at my
fstab, I see that ptyfs nor ext2fs are recognized.  See /sbin/mount_*
for a complete list of what you should add.

Cheers,

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/