nvim-autopairs
nvim-autopairs copied to clipboard
[Question] How to complete pair only when there is some other input?
this is the behavior that I what to achieve:
Before Input After
▌ i"<C-c> "▌
but
Before Input After
▌ i"a<C-c> "a"▌
in other words, option delay autopair by one input I scout through the :help section and couldn't find anything
We don't have that option; you need to figure it out based on the rules of the API. It might be similar to this link—it uses the <Cr> key. https://github.com/windwp/nvim-autopairs/wiki/Custom-rules#expand-multiple-pairs-on-enter-key
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.