Hi James! On Fr, 01 Apr 2016, James McCoy wrote:
> 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 Yeah I know. I don't know a good solution. Perhaps syn reset should not reset the syn iskeyword setting then? I don't know if this is a good solution, one would to have to do :syn iskeyword clear explicitly if one needs to reset it. Best, Christian -- Wußten Sie schon... ... daß auch Arme Beine haben? -- -- 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.
