auto-pairs
auto-pairs copied to clipboard
Inserting closing bracket jumps to end of next pair
Trying to add an ]
at the cursor position shown here by |
jumps to the next closing parenthesis (one char forward) instead of inserting ]
.
new Set([ ...data, value |);
Apart from disabling the plugin, I haven't found a way that lets me type the character. I've tried let g:AutoPairsFlyMode = 0
, let g:AutoPairsMultilineClose = 0
and let g:AutoPairsWildClosedPair = 0
to no avail.
How do I make the plugin get out of the way for things like this?
use let g:AutoPairsWildClosedPair = ''
Thanks, that works. Would it make sense to change this default to something that doesn't interfere with the normal operation of insert mode?
Hey I'm also having some issue with this and I'm wondering if the functionality conflicts/differs with that of the README?
Fly Mode will always force closed-pair jumping instead of inserting. ... Fly Mode is DISABLED by default.
If I'm reading this correctly, by default, when inserting a closing character ()
, }
, ]
, .etc), said character should be inserted (as opposed to jumping to the next instance of that character). By default (with no config changes) this doesn't look to be the case.
Inserting a closing and disabling fly mode also doesn't seem to have any effect.