4

I use neovim and emacs on Windows10, Install through MSYS go install golang.org/x/tools/gopls@latest

but emacs eglot & nvim lspconfig show:

[eglot] Connected! Server `gopls' now managing `go-mode' buffers in project `Go'.
[eglot] Server reports (type=4): Loading packages...
[eglot] Server reports (type=3): Error loading packages: err: go resolves to executable in current directory (.\go): stderr: 
[eglot] Server reports (type=1): Error loading workspace folders (expected 1, got 0)
failed to load view for file:///D:/Go: err: go resolves to executable in current directory (.\go): stderr: 

0 Answers0