Wednesday, August 1, 2012

Re: syntax highlighting question

On 1/08/12 4:08 PM, Peter Miller wrote:
> i gather from the lack of response that my previous question has no
> feasible answer.

You may yet get an answer. I don't think it's impossible to do
javascript in strings, but it is a little tricky. It's the sort of area
we delve into relatively rarely, and indeed, relatively few of us go
there at all. Formulating a truly useful response will take more time
than other questions. Give it a little while to brew and someone still
might answer (myself included).

Ben.



> I noticed that the syntax/php.vim file on my ubuntu machine has a
> |php_htmlInStrings| option. I can turn this option on to display HTML syntax
> highlighting within strings in my php files, which is great. I would also like to
> do javascript syntax highlighting within strings in a php file. Does anybody know
> if this can be done and if so how can I do it?

--
You received this message from the "vim_use" 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

No comments:

Post a Comment