On Fri, Apr 01, 2016 at 11:41:41AM +0200, Christian Brabandt wrote:
> On Do, 31 Mär 2016, Axel Bender wrote:
> > I stumbled upon this, when a syntax file (concrete: cobol.vim) reset
> > isk, which broke some of my command abbreviations. From my point of
> > view isk should not have any influence on command abbreviations, as
> > they are generally unrelated.

As described in “:help abbreviations”, Vim uses the value of 'iskeyword'
to determine where the end of the abbreviation is while you're typing.

> That is a bug in the syntax file then. Syntax files should use the new 
> syn iskeyword command to set syntax specific iskeyword setting.

That makes their behavior less reliable, though, since simply changing
the colorscheme[0] will reset information that the syntax file relies on.

[0]: http://article.gmane.org/gmane.editors.vim.devel/58005

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui