I tried contacting the maintainer listed in the file, but have
received no response.

Here goes:

When using echo within a () group, a closing ) will end the
"dosbatchString" highlight group, even when escaped with a ^.

E.g.

if '%1'=='foo' (
   echo I want to use parentheses (like this^) for some reason,
   echo but the above line ends the string at the closing ^)!)

which will print:
I want to use parentheses (like this) for some reason,
but the above line ends the string at the closing )!

I was able to fix this by modifying the syn match dosbatchString on
line 47 to use the pattern:

"\<echo\([^)>|]\|\^\@<=[)>|]\)*"

I think (but am not sure) that something similar should be done on
line 99 as well to handle 'rem' within () groups.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui