neoclide / coc-pairs

Basic auto pairs extension of coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate all pairs when input faster than ~200ms only vim 8.2

fagci opened this issue · comments

@chemzqm only vim 8.2 patch 1-814, nvim OK

Originally posted by @fagcinsk in #59 (comment)

  • all Types of pairs: },],),...

Can't reproduce.

+1

Here's a log file if that's helpful. Search for occurrences of const foo = ( to see how it pans out.

https://gist.github.com/elzii/7a6e4a0a7a77c379b9c22453613c307f

No idea, try minimal vimrc.

I had a conflicting map on ( in my case. @fagcinsk try debugging with :verbose imap (

@elzii only one: coc#_insert_key

commented

fwiw, I'm recently getting duplicated closing brackets/quotes even when typing very slowly (vim 8.2 patch 1-29).

+1

I get this issue as well. Having coc-vetur and coc-tsserver and coc-pairs installed then attempting to autocomplete a suggestion by tsserver results in, for example, two pairs of angle brackets. Uninstalling coc-pairs fixed this for me, but perhaps the issue lies in tsserver

Check :verbose imap (