]> git.pld-linux.org Git - packages/vim.git/blame - 021_all_vim-7.0-fstab-bogus-errors.patch
- add various syntax improvements from gentoo
[packages/vim.git] / 021_all_vim-7.0-fstab-bogus-errors.patch
CommitLineData
99890e04
ER
1# Remove some bogus 'error' indications in fstab highlighting.
2--- vim7/runtime/syntax/fstab.vim.orig 2005-03-19 16:17:17.036115856 +0000
3+++ vim7/runtime/syntax/fstab.vim 2005-03-19 16:27:35.364115712 +0000
4@@ -19,14 +19,14 @@
5
6 " Device
7 syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError
8-syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@]\|^\w\{-}\ze\W\)/ contained
9+syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@\-:]\)/ contained
10 syn keyword fsDeviceKeyword contained none proc linproc tmpfs
11 syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel
12 syn match fsDeviceLabel contained /=[^ \t]\+/hs=s+1 contains=fsOperator
13
14 " Mount Point
15 syn cluster fsMountPointCluster contains=fsMountPointKeyword,fsMountPointError
16-syn match fsMountPointError /\%([^ \ta-zA-Z0-9_\/#@]\|\s\+\zs\w\{-}\ze\s\)/ contained
17+syn match fsMountPointError /\%([^ \ta-zA-Z0-9_\/#@\-]\)/ contained
18 syn keyword fsMountPointKeyword contained none swap
19
20 " Type
This page took 0.330786 seconds and 4 git commands to generate.