Closed aj3423 closed 3 years ago
Check out :CocList services
, looks like you're setting two language servers.
@fannheyward I'm also facing the same issue.
vim version: VIM - Vi IMproved 8.2 8022539
node version: v14.16.0
coc.nvim version: 0.0.80-0a565835ea
term: alacritty
platform: linux
:CocList services
result:@shanukun run the command after you got the issue.
@chemzqm I ran the command after getting the issue.
Also I'm only seeing this problem with python (jedi), there is no issue with javascript (tsserver).
@shanukun Should be problem of your language server, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel
Okay. I guess I found the problem. I also had coc-python along with coc-jedi, uninstalling the former fixed it. @chemzqm Thank you.
Result from CocInfo
vim version: NVIM v0.5.0-dev+1079-g8becdec39 node version: v12.18.3 coc.nvim version: 0.0.80-9184dcccc4 coc.nvim directory: /e/vim/nvim/plugged/coc.nvim term: xterm-256color platform: linux
Log of coc.nvim
2021-03-06T21:51:26.657 INFO (pid:147066) [services] - registered servi ce "languageserver.go" 2021-03-06T21:51:26.661 INFO (pid:147066) [plugin] - coc.nvim 0.0.80-91 84dcccc4 initialized with node: v12.18.3 after 37ms 2021-03-06T21:51:30.694 INFO (pid:147066) [attach] - receive notificati on: showInfo []
Describe the bug
There're two results when "go to definition" or "go to reference"
Reproduce the bug
vimrc:
CocConfig:
vim 2.go
go-to-definition by pressing gd on variable aaa
The "2.go" and result are shown in the image:
Why two results?