On Friday, March 22, 2002, at 06:50 PM, Chris Devers wrote:

>> Anyone knows what it means (or even better, how to fix it)?
>
> Nope, sorry. Off the top of my head I think that I was getting this error
> both with Fink's vim and the one that I built myself, though it's been a
> few months and I wouldn't swear to that at this point. :/
>
It certainly seemed like a problem already present in the source 
distribution. Heh, I can't say I really understand the syntax, but this 
seems to fix it: change lines 321,322 in /sw/share/vim/vim60/syntax/sh.vim 
to

+if exists("b:is_kornshell") || exists("b:is_bash")
    syn sync match shUntilSync grouphere      shRepeat       "\<until\>"
    syn sync match shWhileSync grouphere      shRepeat       "\<while\>"
+endif

(the error apparently originated from the fact that shRepeat was also only 
defined under that condition. I think it also did not occur with scripts 
having a #!/bin/ksh or #!/sw/bin/bash at the beginning).

Jeff, want to include that patch or should this rather be sent upstream to 
the vim developers? It might not occur on other systems, maybe "b:is_bash"
  is always set on Linux or whatever, but this still seems like a general 
bug.

Cheers,
                                                Derek


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to