Hello David,

'runtime/syntax/resolv.vim' uses '[-0-9A-Za-z_\.]' therefore it should handle
cpoptions correctly. see ':h cpo-l' for details.


-- 
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F

-- 
You received this message from the "vim_dev" 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
--- runtime/syntax/resolv.vim	2012-05-18 14:57:49.000000000 +0000
+++ ../resolv.vim	2012-05-18 20:52:46.000000000 +0000
@@ -12,6 +12,9 @@
 	finish
 endif
 
+let s:keepcpo= &cpo
+set cpo&vim
+
 " Errors, comments and operators
 syn match resolvError /./
 syn match resolvComment /\s*[#;].*$/ contains=@Spell
@@ -84,4 +87,7 @@
 
 let b:current_syntax = "resolv"
 
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
 " vim: ts=8 ft=vim

Attachment: resolv.vim
Description: application/wine-extension-vim

Raspunde prin e-mail lui