Kent Sibilev wrote:

> The latest revision of syntax/css.vim introduced a subtle problem with
> the following line:
> 
> " Required for cssHacks
> setlocal iskeyword-=_
> 
> I'm not sure if the syntax file that is the correct place to set vim's
> options other than syntax settings. For example, rails.vim plugin
> allows highlighting of xhtml syntax inside of ruby files, by loading
> syntax/xhtml and syntax/css.vim for ruby files. By setting iskeyword
> setting in the syntax file, the word completion is broken for any
> filetype that happens to be reusing css syntax.
> 
> I believe that 5354 revision has introduced this change:
> 
> hg diff -r5354 runtime/syntax/css.vim

Yes, I also have my doubts about this change.  Now that I check there is
no "syn keyword" that has a keyword with an underscore.  I would think
removing this line to set 'iskeyword' would not change the highlighting,
thus that would mean it's misplaced.

-- 
Did you hear about the new 3 million dollar West Virginia State Lottery?
The winner gets 3 dollars a year for a million years.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui