Skip to content
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

Neovim - mason-lspconfig fails to install gopls without Go #306

Open
sagexfors opened this issue Oct 12, 2024 · 1 comment
Open

Neovim - mason-lspconfig fails to install gopls without Go #306

sagexfors opened this issue Oct 12, 2024 · 1 comment

Comments

@sagexfors
Copy link
Contributor

sagexfors commented Oct 12, 2024

When I don't install Go, I get an error saying mason-lspconfig failed to install gopls. I'm pretty new to linux and neovim but it looks like the plugin requires Go to be installed (installing it fixes this). Should the setup automatically include installing Go?

@Kasui92
Copy link
Contributor

Kasui92 commented Oct 13, 2024

This is because the Go plugin for Neovim is installed by default, without checking whether the language has been chosen or not. If you don't use Go, feel free to remove the plugin.

There is a PR that might fix this problem during installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants