> How does vim handle when isk changes so that some existing abbreviations
> are no longer valid or change from one type of abbreviation to another?
> At first glance, this seems like a bug in the design.
>
> Note that this thread started because someone got an error when defining
> an abbrev in one instance but not in another. If changing isk after the
> fact simply made some existing abbrev's stop working without any error,
> that would be even more confusing and harder to track down.
That is exactly what happens. If you do:
:set isk+=@-@
:iabbrev @author foobar
:set isk&vim
i@author
the abbreviation won't be triggered anymore, though it will still be listed
in the output of :iabbrev
regards,
Christian
--
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
No comments:
Post a Comment