-
Notifications
You must be signed in to change notification settings - Fork 202
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
Trigger abbreviations when inserting pair signs #1259
Comments
Thanks for the suggestion! I am having hard time understanding the exact issue here. Would you mind sharing a setup and/or workflow with which you find 'mini.pairs' and abbreviations are in conflict? |
Of course ! |
Ah, I see now the problem. Thanks for the follow up! I don't think prepending At the moment it looks to me like an upstream Vim (yes, not even Neovim) issue. I'll try to look and ask around about this. |
I understand your concern about performance, but to provide some context, I think this operation is already executed by default each time a character is typed. |
And I think it should still do that even if the character comes as a result of mapping. As in 'mini.pairs' pressing |
If this can help, from what I've been able to test, it would appear that abbreviation expansion is not activated when using |
This indeed looks like an issue on Vim side. I've created vim/vim#15820 to see if it can be resolved there. If not, I'll consider prepending |
Contributing guidelines
Module(s)
mini.pairs
Description
mini.pairs
remaps all pair signs in insert mode, which breaks the default abbreviation expansion in Neovim.I think one simple way to solve this would be to add
<C-]>
at the beginning of mappings in theMiniPairs.open
function to manually trigger abbreviation expansion.Would this modification be compatible with the rest of the plugin ?
Thanks !
The text was updated successfully, but these errors were encountered: