Open againxx opened 4 years ago
I set iabbrev pritn print in my vimrc, but the abbreviation didn't expand after I typed pritn(.
iabbrev pritn print
pritn(
In Learn Vimscript the Hard Way, the author says that
Vim will substitute an abbreviation when you type any "non-keyword character" after an abbreviation.
Other non-keyword characters work fine, such as ,. Like the discussion in https://vi.stackexchange.com/questions/10649/expand-abbreviation-when-the-following-non-keyword-character-is-mapped-to-someth, the problem seems to lay in the mapping.
,
Don't know how to fix.
Got the same problem...
@chemzqm Is it possible and acceptable to always trigger a CTRL-] before coc-pairs handle its key characters?
Tried to feed CTRL-], but not work.
Sad...
I set
iabbrev pritn print
in my vimrc, but the abbreviation didn't expand after I typedpritn(
.In Learn Vimscript the Hard Way, the author says that
Other non-keyword characters work fine, such as
,
. Like the discussion in https://vi.stackexchange.com/questions/10649/expand-abbreviation-when-the-following-non-keyword-character-is-mapped-to-someth, the problem seems to lay in the mapping.