-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Manually specify gopls path #17
Comments
Hi, @jonleopard |
Ah, I fixed it! There was something wrong in my config. One last quick question: when I save a buffer, it formats but doesn't import missing packages. Is this default setting or do I need to enable it somehow? |
If you want both import and format. You can use either Goimport, which is defined as:
Or add:
|
Works like a charm, thanks! It seems Lua doesn't have a autocommand support yet. So if anyone reading this wants this
Thanks again for your help! |
Thanks! |
I'm using nvim-lspinstall to manage all my lsp installations. Is it possible to tell go.nvim where the path to this binary is?
Here's an example of what I was doing before:
The text was updated successfully, but these errors were encountered: