Closed Aflynn50 closed 1 year ago
I'm not sure what's going on here, but it something to do with the output of go list
. It may be related to using snap. I've seen others have problems with snap for some reason. What does :!go list
output when run from within vim after you get the error you documented above?
That seems to be it, the go list
command returns nothing when I do :! go list
. It works fine when I do it from the command line.
Looks like the error is actually know about for the snap: https://github.com/neovim/neovim-snap/issues/25.
I've installed it with the AppImage for now. Thanks!
What did you do? (required: The issue will be closed when not provided)
Open a non-empty go file in nvim. This error occurs every time I open a file. It started happening after I installed (and then removed) the plugins
nvim-treesitter
,nvim-lspconfig
andray-x/go.nvim
. The error occurs even with the plugins removed from the system.What did you expect to happen?
I expected it to open the file without crashing.
What happened instead?
I got this error
Configuration (MUST fill this out):
vim-go version:
vimrc
you used to reproduce:vimrc
```vim call plug#begin() Plug 'fatih/vim-go' call plug#end() ```Vim version (first three lines from
:version
):Installed as a snap
Go version (
go version
):go1.18.10 linux/amd64
Go environment
go env
Output:gopls version
gopls version
Output: