jiangmiao/auto-pairs

Wrongly delete lines when editing vim config file by mistake

Opened this issue · 3 comments

Because vim config uses quotation marks as comments, when deleting the space character before the quotation mark, the plugin will delete the following blank lines by mistake.
vim-error

Try adding this:

g:AutoPairsMultilineClose = 0

or update to the latest version.

"latest version" - this repo hasn't been updated since 2019. Updating isn't going to do anything anyway - I've reproduced it on the last version uploaded. I've only fixed this in my fork, but with jiangmiao gone (#309), there's not gonna be changes to this repo any time soon, if ever.

@LunarWatcher consider using vim-scripts/auto-pairs-gentle. It's old, but works perfectly.