Wednesday, September 19, 2012

Re: dynamic syntax highlighting

Miek Gieben, Wed 2012-09-19 @ 14:14:17+0200:
> Is something like this even remotely possible with Vim? Can it be done
> with a vimscript?

In order for it to work in the general case, you'd have to embed a
parser for the language in question in Vim. Not a trivial thing to do,
especially in VimScript. I'm sure that it could theoretically be done,
but it would be a lot of work, and would probably slow down syntax
highlighting (which is already slow in some cases) considerably.

No comments: