coc-pairs icon indicating copy to clipboard operation
coc-pairs copied to clipboard

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

Open fagci opened this issue 4 years ago • 9 comments

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

Originally posted by @fagcinsk in https://github.com/neoclide/coc-pairs/issues/59#issuecomment-650799907

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

fagci avatar Jun 28 '20 17:06 fagci

Can't reproduce.

chemzqm avatar Jun 29 '20 03:06 chemzqm

+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

elzii avatar Jul 17 '20 06:07 elzii

No idea, try minimal vimrc.

chemzqm avatar Jul 17 '20 08:07 chemzqm

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

elzii avatar Jul 26 '20 23:07 elzii

@elzii only one: coc#_insert_key

fagci avatar Jul 27 '20 03:07 fagci

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

sersorrel avatar Aug 06 '20 14:08 sersorrel

+1

lljbash avatar Dec 23 '20 08:12 lljbash

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

C-alcium avatar Jan 16 '21 16:01 C-alcium

Check :verbose imap (

chemzqm avatar Jan 16 '21 16:01 chemzqm