neoclide / coc-pairs

Basic auto pairs extension of coc.nvim
297 stars 14 forks source link

Inconsistent <BS> behavior #89

Closed aaronparisi closed 1 year ago

aaronparisi commented 1 year ago

if I type ", it inserts the closing " automatically. However, if I immediately press , the closing " remains. This behavior is not replicated for other pairs, i.e. typing '<BS> results in no characters on screen, similarly for {<BS>. Note that the output of verbose imap <bs> indicates that is being mapped in coc.vim file, specifically function! coc#_insert_key (which I believe enables the other, currently-working auto-pairs behavior)

I am using homebrew-installed vim version 9.0

coc.nvim version: 0.0.82-3014125e 2023-04-11 14:28:54 +0800

ArtisticZhao commented 1 year ago

Same as you, only "" not work.