I've created a patch so that syntax/php.vim will:

1) hilight \\ and \' inside single quoted strings. (After discovering
that these are always treated specially). I got a php guy to update
the docs to correctly reflect that \\ inside single quoted strings is
always special. See
http://svn.php.net/viewvc/phpdoc/en/trunk/language/types/string.xml?r1=304133&r2=304132&pathrev=304133

2) hilight \" inside double quoted strings

syntax/php.vim hilights all other esape sequences I've ever used, and
I found it confusing that it didn't hilight these. I've had very
frustrating bugs which were hard to find because I thought \\ was not
special inside single quotes (partly because vim didn't display it as
SpecialChar).

Here's the patch: 
http://jasonwoof.com/downloads/hilight-rest-of-escaped-chars.patch

-- 
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

Raspunde prin e-mail lui