fix(nvim): gopls config
This commit is contained in:
parent
565e336cb8
commit
8f9a26b5ce
|
@ -57,6 +57,7 @@ nvim_lsp.gopls.setup({
|
||||||
-- Disalbing linksInHover may not be working as expected:
|
-- Disalbing linksInHover may not be working as expected:
|
||||||
linksInHover = false,
|
linksInHover = false,
|
||||||
usePlaceholders = true,
|
usePlaceholders = true,
|
||||||
|
experimentalPostfixCompletions = true,
|
||||||
analyses = {
|
analyses = {
|
||||||
unusedparams = true,
|
unusedparams = true,
|
||||||
shadow = true,
|
shadow = true,
|
||||||
|
@ -66,6 +67,9 @@ nvim_lsp.gopls.setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
init_options = {
|
||||||
|
usePlaceholders = true,
|
||||||
|
},
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue