Saturday, May 18, 2013

Re: is /syntax/fstab maintained anymore?

Linda W wrote:

> Maybe it's just my distro not getting the updates, but the last update for
> the syntax file for /etc/fstab was 2009.
>
> A diff of just the filesystem types I added that are on my system
> (/proc/filesystems)
> looks like:
>
> > diff -u /usr/share/vim/vim73/syntax/fstab.vim.orig
> /usr/share/vim/vim73/syntax/fstab.vim
> --- /usr/share/vim/vim73/syntax/fstab.vim.orig 2013-03-28
> 07:33:50.000000000 -0700
> +++ /usr/share/vim/vim73/syntax/fstab.vim 2013-05-17
> 21:08:16.506416059 -0700
> @@ -47,7 +47,7 @@
> " Type
> syn cluster fsTypeCluster contains=fsTypeKeyword,fsTypeUnknown
> syn match fsTypeUnknown /\s\+\zs\w\+/ contained
> -syn keyword fsTypeKeyword contained adfs ados affs atfs audiofs auto
> autofs befs bfs binfmt_misc cd9660 cfs cifs coda cramfs debugfs devfs
> devpts e2compr efs ext2 ext2fs ext3 ext4 ext4dev fdesc ffs filecore fuse
> hfs hpfs iso9660 jffs jffs2 jfs kernfs lfs linprocfs mfs minix msdos
> ncpfs nfs none ntfs null nwfs overlay ovlfs portal proc procfs ptyfs
> qnx4 reiserfs romfs rpc_pipefs shm smbfs sshfs std subfs swap sysfs sysv
> tcfs tmpfs udf ufs umap umsdos union usbfs userfs vfat vs3fs vxfs wrapfs
> wvfs xfs zisofs
> +syn keyword fsTypeKeyword contained adfs ados affs anon_inodefs atfs
> audiofs auto autofs bdev befs bfs binfmt_misc cd9660 cfs cgroup cifs
> coda configfs cpuset cramfs debugfs devfs devpts devtmpfs e2compr efs
> ext2 ext2fs ext3 ext4 ext4dev fdesc ffs filecore fuse fuseblk fusectl
> hfs hpfs hugetlbfs iso9660 jffs jffs2 jfs kernfs lfs linprocfs mfs minix
> mqueue msdos ncpfs nfs nfsd none ntfs null nwfs overlay ovlfs pipefs
> portal proc procfs pstore ptyfs qnx4 ramfs reiserfs romfs rpc_pipefs
> security_fs shm smbfs sockfs sshfs std sysfs subfs swap sysfs sysv tcfs
> tmpfs udf ufs umap umsdos union usbfs userfs vfat vs3fs vxfs wrapfs wvfs
> xfs zisofs
>
> " Options
> " -------
> ---------------
>
> Which doesn't make it easy or clear what was added -- on top of I know I
> likely didn't
> get everything. FWIW, I did add them alphabetically! ;-) Got tired of
> looking at the red
> highlighted things it thought were errors in my fstab.
>
> I wonder if it is possible for things like the file type to be generated
> dynamically,
> by reading /proc/filesystems on linux systems, for example?
>
> At the very least -- seems like it is, at least, due for a
> quadrennial-update (4 yr?)...;-)

The name of the syntax file maintainer is at the top of the file.
The URL mentioned there doesn't work now.
I have sent him a message.

--
ARTHUR: But if he was dying, he wouldn't bother to carve
"Aaaaarrrrrrggghhh". He'd just say it.
BROTHER MAYNARD: It's down there carved in stone.
GALAHAD: Perhaps he was dictating.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: