[SCM] Vim packaging branch, deb/runtime, updated. upstream/7.1.285-125-g455a1c2
James Vega
jamessan at debian.org
Thu Jun 26 23:31:27 UTC 2008
The following commit has been merged in the deb/runtime branch:
commit 455a1c2fb0b9618ce53fec412ec180772e184879
Author: James Vega <jamessan at debian.org>
Date: Thu Jun 26 19:30:20 2008 -0400
Udev filetype detection should match /etc/udev/*.rules not /etc/udev.d
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 9717688..b47680a 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1804,7 +1804,7 @@ au BufNewFile,BufRead *.rules call s:FTRules()
let s:ft_rules_udev_rules_pattern = '^\s*\cudev_rules\s*=\s*"\([^"]\{-1,}\)/*".*'
func! s:FTRules()
- if expand('<amatch>:p') =~ '^/etc/udev.d\|^/etc/udev/rules\.d/.*\.rules$'
+ if expand('<amatch>:p') =~ '^/etc/udev/\%(rules\.d/\)\=.*\.rules$'
setf udevrules
return
endif
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list