Closed delphinus closed 2 years ago
gopls does not work without project file. You need to create go project instead.
For example if you edit the project files, it works.
Ah, sorry. It works with go mod init
.
hmm... but does not show in my box. I'm looking further.
Problems summary
Candidates from nvim-lsp does not be shown (from gopls at least).
Expected
Environment Information
ddc.vim version (SHA1): b30ba8b14264933acd67eba68f17507dbfffc473
ddc-nvim-lsp version (SHA1): a5f9c169e6c248e4075855b37737819d20c5e90c
denops.vim version (SHA1): 84cbe85d95145998050bb2e95940f84e221331da
deno version(
deno -V
output): deno 1.15.2OS: Ubuntu 21.04
neovim version (SHA1): 9086938f7bd6d6ccb7f4a30fb78aeaf0d84e4471
gopls version:
Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
nvim hoge.go
around
, but no ones fromnvim-lsp
. See screencats below.