gopls
not working as intended from lsp
#1442
-
extraConfigLua = ''
local lspconfig = require("lspconfig")
lspconfig.gopls.setup({
settings = {
gopls = {
analyses = {
unusedparams = true,
},
staticcheck = true,
gofumpt = true,
},
},
}) ''; if I just use the |
Beta Was this translation helpful? Give feedback.
Answered by
GaetanLepage
May 1, 2024
Replies: 1 comment 8 replies
-
Is there a reason to configure it in lua directly ? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, to enable the
gopls
language server in nixvim but prevent the installation ofgopls
, do the following: