Hiroshi Shirosaki wrote:
> > > I noticed a syntax highlighting issue with filetype=html.
> > > test.html contains the following one line.
> > > <script ><![CDATA[]]>
> > >
> > > When opening test.html, "[CDATA[]]" is highlighted as error with set re=0.
> > >
> > > But "[CDATA[]]" is not highlighted as error with set re=1.
> >
> > I didn't have a HTML file in my syntax file collection yet. I added one
> >
> > from Vim docs (not very diverse though). I added your line and can see
> >
> > the difference. I'll find out how to fix it.
> >
>
> It seems related to regexp '\_[^>]*'. Emitting end-of-line pattern
> would be wrong with negated collection.
> I attached a patch for this.
With a test, wonderful.
--
If they don't keep on exercising their lips, he thought, their brains
start working.
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.