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

Left extra text when confirm completion condidates

Open beardnick opened this issue 6 years ago • 4 comments

just write a simple String image and fininally I get image nvim version :NVIM v0.5.0-23-gafd576ee9 confirm config: image

the problem only happend for java language server candidates, it's fine for snippet,file,around condidates.

beardnick avatar Nov 05 '19 09:11 beardnick

Please provide minimal vimrc.

chemzqm avatar Nov 05 '19 10:11 chemzqm

I create a debug config file. This is all the debug config.

if &compatible
    set nocompatible
endif

set runtimepath+=~/study/git/dein.vim
let g:dein_load_state = dein#load_state("~/study/git/debug/plugins")
if g:dein_load_state
    call dein#begin("~/study/git/debug/plugins")
    call dein#add("~/study/git/dein.vim")

    call dein#add('neoclide/coc.nvim',{'build':'./install.sh'})
endif

I just install coc.nvim with dein and install coc-java using coc.nvim. It also produce the same problem.

beardnick avatar Nov 05 '19 10:11 beardnick

I thought I may find the problem. I removed my ~/.config/coc folder and just install coc-java, then everything worked fine. But after I installed coc-tabnine,the problem arose again. You may try to install coc-tabnine to reproduce it.

beardnick avatar Nov 05 '19 12:11 beardnick

@beardnick You can temporarily fix this by adding

  "tabnine.disable_filetypes": [
    "java",
  ],

to your coc-config.json

haze avatar Dec 21 '19 21:12 haze

Should be fixed on latest release branch of coc.nvim.

chemzqm avatar Jan 29 '23 09:01 chemzqm