RE: 'xml.vim' and 'html.vim': htmlSpecialChar -- possible fixes?
- Hi Claudio
JJJ> ? The original misrecognizes   as an entity; all the way up to the
> Actually, it does not, the semicolon has to be at most 6 characters fromYou're right, of course .. I realized that when the message had gone out.
> the '&',
Actually, when I wrote that, a comment in my 'myhtml.vim' had me under the
impression that the original pattern ended in *, same as the 'xml.vim' one.
Was this perhaps an earlier version? I neglected to fix the example.
> but I agree that a better solution is needed. How aboutSomething like that .. that one doesn't take care of Rafael's é
example. His suggestion is:
syn match htmlSpecialChar "\=[a-zA-Z0-9]\+;"
which doesn't make allowance for the possible length of entities like yours
does. I guess it's worth trying to make this as accurate as possible, and
just "good enough"?
Jean Jordaan -- technical writer -- Mosaic Software