m4xshen/autoclose.nvim

Add an option to only trigger auto-close when Enter is pressed.

Closed this issue · 1 comments

I mainly use vim-closer, which only closes pairs when enter is pressed, which I find more useful as sometimes if I'm typing inline, I don't want the pair inserted - whereas having it inserted when enter is pressed (and then triggering auto-indent) is pretty much always useful.

This could be a global option, or maybe even enabled per-pair, depending on your preferences. I'd be simply ok with a global option, as then I could mirror my current workflow with vim-closer and move on.

This is a complete different feature from autoclose.nvim. You can just use vim-closer if you want this feature, so this won't be added.