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

Collision with CoC

Open ignamartinoli opened this issue 2 years ago • 2 comments

Ensure that you use the latest version of the plugin

  • [x] Update the plugin by :PackerUpdate or run git pull under the plugin directory

Describe the bug I realized, after a long debug, that this plugin conflicts with CoC by mapping internally <CR>

To Reproduce Open a Lua file with CoC working and type func<TAB><CR>

We should get

function |()
end

but get

func
|

instead.

Other information

  • Distribution: Gentoo
  • Nvim version: 0.8.0-dev+11-gd3121f1e6-dirty

ignamartinoli avatar Jun 15 '22 05:06 ignamartinoli

Did you check the https://github.com/ZhiyuanLck/smart-pairs/issues/2#issuecomment-1037232219 ?

ZhiyuanLck avatar Jun 15 '22 06:06 ZhiyuanLck

Thanks @ZhiyuanLck, that fixed it for now. Hopefully in the future you'll have time to check this out, it's not that urgent. For now all the best luck with your degree :wink:, you're gonna do great!

ignamartinoli avatar Jun 15 '22 23:06 ignamartinoli