Hi Axel!

On Do, 31 Mär 2016, Axel Bender wrote:

> With the following settings
> 
> :set isk=48-57,_,192-255
> :set cabbrev <silent>_dts          %substitute/\s\+$//e
> 
> using
> 
> :_dts
> 
> works.
> 
> After 
> 
> :set isk-=_
> 
> using
> 
> :_dts
> 
> fails with "E492 - Not an editor command".

That is because changing isk is generally not recommended for the 
various effects it has.

> 
> 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.

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


Best,
Christian
-- 
Wie viele Sinfonien hat Beethoven geschrieben?
Vier - die Dritte, die Fünfte, die Sechste und die Neunte.

-- 
-- 
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