Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using parentheses after insert mode abbreviations will not trigger the abbreviation #55

Open
againxx opened this issue Jun 6, 2020 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@againxx
Copy link

againxx commented Jun 6, 2020

I set iabbrev pritn print in my vimrc, but the abbreviation didn't expand after I typed 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.

@chemzqm chemzqm added wontfix This will not be worked on help wanted Extra attention is needed and removed wontfix This will not be worked on labels Jun 6, 2020
@chemzqm
Copy link
Member

chemzqm commented Jun 9, 2020

Don't know how to fix.

@AeolusLau
Copy link

Got the same problem...

@chemzqm Is it possible and acceptable to always trigger a CTRL-] before coc-pairs handle its key characters?

@chemzqm
Copy link
Member

chemzqm commented Sep 3, 2023

Tried to feed CTRL-], but not work.

@AeolusLau
Copy link

Sad...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants