-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vim-go: could not determine appropriate working directory for gopls #3673
Comments
FWIW, I tried deleting |
Is the source code file either in GOPATH (e.g. |
@bhcleek thanks for your response. Yes, the source code file is in a subdirectory of the directory containing the |
What is the output of Also, does your experience change if you set |
Hi again @bhcleek. OK, so some interesting developments...
However, I saw (briefly, in the mode bar) an error about
which got me thinking, maybe if I And sure enough, when I did that, vim-go loaded up and in the mode bar I saw Anyway, I'll close this issue out, but in the future, if someone sees something like this, |
What did you do? (required: The issue will be closed when not provided)
Brand new vim installation (cleared ~/.vim, ~/.vimrc), generated new vimrc for Go with Vim Bootstrap.
Opening any Go file results in a failure:
This problem just started happening this morning. Everything was working just fine last Friday...
What did you expect to happen?
Go files should be opened properly by vim.
What happened instead?
Configuration (MUST fill this out):
vim-go version:
vimrc
you used to reproduce:Vim version (first three lines from
:version
):Go version (
go version
):Go environment
gopls version
The text was updated successfully, but these errors were encountered: