Monday, August 31, 2009

Re: vim 7.1 - sh.vim syntax file - unwarranted syntax error detected.

John Little wrote:
>> console-screen.kbd.sh
>
> With vim 7.2.245, the highlighting of line 30 is ok but fails on and
> after line 32, even with the very latest syntax file (v108) from the
> maintainer's website (http://mysite.verizon.net/astronaut/vim/
> index.html#vimlinks_syntax). It doesn't like the escaped double quote
> after the square bracket. The following two line shell script
> exhibits the problem:
>
> echo [ \"Lorem
> echo ipsum
>
> Dr Chip will likely see this thread, I hope this helps him, should he
> be inclined to fix it.

I had downloaded the latest version of the syntax file before I posted
and indeed it doesn't make any difference.

I guess I can always send him an email to his contact address in sh.vim
if he does not respond within the next few days.

Where this particular linux init.d script is concerned, and especially
since the line that's affected is very near the beginning, it pretty
much defeats the purpose of syntax highlighting - as time allows, I'm
sure he will want to come up with a fix.

Gen-Paul.

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

No comments: