I noticed that when I use xquery comments and have an embedded ')',
the commenting syntax disappears.  I have tracked it down to the last
line in the xquery.vim syntax file.  Maybe a syntax guru can help me
out here, but I think I have a fix - maybe just see if it passes
sanity because up on testing in my sample it seems to work.

I have changed the start and end to be start='([^:]' and end='[^:])'.

A sample case would be having a comment in an xqy file:

(: a comment here ) :)

and a multi-line comment here:

(: a multi-line

comment ) :)


With the previous syntax file the second right-paren escapes out of
the comment region in both the single and multi-line examples.  I
didn't see the list doing much before so I can't see that it broke the
list any.

Thanks for the code review,

Steve

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui