Syntax highlighting again.

Doug Kearns djkea2 at mugca.its.monash.edu.au
Sat Apr 17 02:19:36 EDT 2004


On Fri, Apr 16, 2004 at 03:02:58PM +0100, Hugh Sasse Staff Elec Eng wrote:

<snip>
 
> The "end" of ANSIColor.make_code is not matched properly although the
> syntax is picked up as being ruby AFAICS.  Any ideas what is happening
> here?

Because sh.vim is doing this: setlocal isk+=. and ruby.vim doesn't reset
it, which I'm not sure it should have to really. There are 388 syntax
files and only 58 of them explicitly set 'iskeyword'.

Maybe all other syntax files should implicitly run
:setlocal iskeyword&

Doug


More information about the vim-ruby-devel mailing list