Hi all, Several years since I posted! I have an XML format which contains HTML inside CDATA:
<![CDATA[ <p> Here is some <i>great</i> HTML. </p> ]]> I really want to have the HTML syntax-highlighted, and I've tried all I can with the instructions in h: :syn-include. Here's what I've got: I open my xml file. XML is correctly highlighted, CDATA sections are unhighligted. Correct. Now: :unlet b:current_syntax :syn include @CDATA_HTML $VIMRUNTIME/syntax/html.vim Check that html* syntax items are loaded: Yes. Now, this is where the problems are: :syn region CDATA_HTML_region start=+<!\[CDATA\[+ keepend end=+\]\]>+me=s-1 contai...@cdata_html Nothing happens. Can you help? Cheers, al. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
