r1091 - in /trunk/packages/vim: debian/changelog patches/fstab.vim-syntax.diff patches/series

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Mon Nov 26 08:25:37 UTC 2007


Author: jamessan
Date: Mon Nov 26 08:25:37 2007
New Revision: 1091

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1091
Log:
* Add fstab.vim-syntax.diff, which adds support for sshfs syntax.
  (Closes: #451754)

Added:
    trunk/packages/vim/patches/fstab.vim-syntax.diff
Modified:
    trunk/packages/vim/debian/changelog
    trunk/packages/vim/patches/series

Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=1091&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Mon Nov 26 08:25:37 2007
@@ -53,8 +53,10 @@
   * Add lhaskell.vim-syntax.diff, which restricts the matching of % to the
     beginning of the line when determining if the file is a TeX document.
     Thanks to Chung-chieh Shan for the patch.  (Closes: #451440)
-
- -- James Vega <jamessan at debian.org>  Mon, 26 Nov 2007 06:41:51 +0000
+  * Add fstab.vim-syntax.diff, which adds support for sshfs syntax.
+    (Closes: #451754)
+
+ -- James Vega <jamessan at debian.org>  Mon, 26 Nov 2007 08:23:53 +0000
 
 vim (1:7.1-138+1) unstable; urgency=medium
 

Added: trunk/packages/vim/patches/fstab.vim-syntax.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/fstab.vim-syntax.diff?rev=1091&op=file
==============================================================================
--- trunk/packages/vim/patches/fstab.vim-syntax.diff (added)
+++ trunk/packages/vim/patches/fstab.vim-syntax.diff Mon Nov 26 08:25:37 2007
@@ -1,0 +1,64 @@
+Index: vim/runtime/syntax/fstab.vim
+===================================================================
+--- vim/runtime/syntax/fstab.vim.orig
++++ vim/runtime/syntax/fstab.vim
+@@ -23,7 +23,7 @@
+ " General
+ syn cluster fsGeneralCluster contains=fsComment
+ syn match fsComment /\s*#.*/
+-syn match fsOperator /[,=:]/
++syn match fsOperator /[,=:#]/
+ 
+ " Device
+ syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError
+@@ -31,9 +31,11 @@
+ syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts sysfs usbfs
+ syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
+ syn keyword fsDeviceKeyword contained UUID nextgroup=fsDeviceUUID
++syn keyword fsDeviceKeyword contained sshfs nextgroup=fsDeviceSshfs
+ syn match fsDeviceKeyword contained /^[a-zA-Z0-9.\-]\+\ze:/
+ syn match fsDeviceLabel contained /=[^ \t]\+/hs=s+1 contains=fsOperator
+ syn match fsDeviceUUID contained /=[^ \t]\+/hs=s+1 contains=fsOperator
++syn match fsDeviceSshfs contained /#[_=[:alnum:]\.\/+-]\+@[a-z0-9._-]\+\a\{2}:[^ \t]\+/hs=s+1 contains=fsOperator
+ 
+ " Mount Point
+ syn cluster fsMountPointCluster contains=fsMountPointKeyword,fsMountPointError
+@@ -43,7 +45,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 cd9660 cfs cifs coda cramfs devfs devpts e2compr efs ext2 ext2fs ext3 fdesc ffs filecore 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 shm smbfs 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 atfs audiofs auto autofs befs bfs cd9660 cfs cifs coda cramfs devfs devpts e2compr efs ext2 ext2fs ext3 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 shm smbfs sshfs std subfs swap sysfs sysv tcfs tmpfs udf ufs umap umsdos union usbfs userfs vfat vs3fs vxfs wrapfs wvfs xfs zisofs
+ 
+ " Options
+ " -------
+@@ -143,6 +145,13 @@
+ syn keyword fsOptionsReiserHash contained rupasov tea r5 detect
+ syn keyword fsOptionsKeywords contained hashed_relocation noborder nolog notail no_unhashed_relocation replayonly
+ 
++" Options: sshfs
++syn match fsOptionsKeywords contained /\<\%(BatchMode\|ChallengeResponseAuthentication\|CheckHostIP\|ClearAllForwardings\|Compression\|EnableSSHKeysign\|ForwardAgent\|ForwardX11\|ForwardX11Trusted\|GatewayPorts\|GSSAPIAuthentication\|GSSAPIDelegateCredentials\|HashKnownHosts\|HostbasedAuthentication\|IdentitiesOnly\|NoHostAuthenticationForLocalhost\|PasswordAuthentication\|PubkeyAuthentication\|RhostsRSAAuthentication\|RSAAuthentication\|TCPKeepAlive\|UsePrivilegedPort\)=/ nextgroup=fsOptionsYesNo
++syn match fsOptionsKeywords contained /\<\%(ControlMaster\|StrictHostKeyChecking\|VerifyHostKeyDNS\)=/ nextgroup=fsOptionsSshYesNoAsk
++syn match fsOptionsKeywords contained /\<\%(AddressFamily\|BindAddress\|Cipher\|Ciphers\|ControlPath\|DynamicForward\|EscapeChar\|GlobalKnownHostsFile\|HostKeyAlgorithms\|HostKeyAlias\|HostName\|IdentityFile\|KbdInteractiveDevices\|LocalForward\|LogLevel\|MACs\|PreferredAuthentications\|Protocol\|ProxyCommand\|RemoteForward\|RhostsAuthentication\|SendEnv\|SmartcardDevice\|User\|UserKnownHostsFile\|XAuthLocation\)=/ nextgroup=fsOptionsString
++syn match fsOptionsKeywords contained /\<\%(CompressionLevel\|ConnectionAttempts\|ConnectTimeout\|NumberOfPasswordPrompts\|Port\|ServerAliveCountMax\|ServerAliveInterval\)=/ nextgroup=fsOptionsNumber
++syn keyword fsOptionsSshYesNoAsk contained yes no ask
++
+ " Options: subfs
+ syn match fsOptionsKeywords contained /\<fs=/ nextgroup=fsOptionsString
+ syn keyword fsOptionsKeywords contained procuid
+@@ -208,6 +217,7 @@
+ 	HiLink fsDeviceKeyword Identifier
+ 	HiLink fsDeviceLabel String
+ 	HiLink fsDeviceUUID String
++	HiLink fsDeviceSshfs String
+ 	HiLink fsFreqPassNumber Number
+ 
+ 	if exists('fstab_unknown_fs_errors') && fstab_unknown_fs_errors == 1
+@@ -235,6 +245,7 @@
+ 	HiLink fsOptionsHpfsCase String
+ 	HiLink fsOptionsIsoMap String
+ 	HiLink fsOptionsReiserHash String
++	HiLink fsOptionsSshYesNoAsk String
+ 	HiLink fsOptionsUfsType String
+ 	HiLink fsOptionsUfsError String
+ 

Modified: trunk/packages/vim/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/series?rev=1091&op=diff
==============================================================================
--- trunk/packages/vim/patches/series (original)
+++ trunk/packages/vim/patches/series Mon Nov 26 08:25:37 2007
@@ -24,3 +24,4 @@
 gnuada.diff -p0
 debsources.vim-syntax.diff -p0
 lhaskell.vim-syntax.diff -p0
+fstab.vim-syntax.diff -p0




More information about the pkg-vim-maintainers mailing list