Tuesday, September 24, 2013

Re: someone is messing with iskeyword...

Op dinsdag 24 september 2013 15:29:47 schreef Christian Brabandt:
> On Tue, September 24, 2013 13:00, Matteo Cavalleri wrote:
> > i've noticed that the underscore is no longer part of the "iskeyword"
> > variable, both in php and ruby/rails files. this obviously messes up the *
> > operator and in some cases even the syntax highlighting (e.g. when in a
> > rails project a method starts with 'flash_')
> >
> > if i run vim and give the command "verbose set iskeyword?" the culprit is:
> > iskeyword=@,48-57,192-255,$
> >
> > Last set from /usr/local/share/vim/vim74/syntax/css.vim
> >
> > what's strange (at least according to my tiny knowledge of vim) is:
> >
> > 1) why the css file gets loaded if i have no css files open?
> > 2) in that file there's this command:
> >
> > setlocal iskeyword-=_
> >
> > so why "setlocal" affects all buffers?
>
> That is a recent regression (see the discussion at
> http://article.gmane.org/gmane.editors.vim.devel/42742)
>
> I am sure, this will be fixed soon.
>
> regards,
> Christian

It is already fixed in he git repository [1][2] so when the runtime files will
be updated, all will be fine again.

[1] https://github.com/JulesWang/css.vim/pull/16#issuecomment-25000414
[2]
https://github.com/JulesWang/css.vim/commit/999ddfdc3ba9a8d806c10a037f2f886cb07f604c

--
Ike

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: