fix(nvim): gopls config

This commit is contained in:
Rob Watson 2023-10-01 08:10:15 +02:00
parent 565e336cb8
commit 8f9a26b5ce
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,7 @@ nvim_lsp.gopls.setup({
-- Disalbing linksInHover may not be working as expected:
linksInHover = false,
usePlaceholders = true,
experimentalPostfixCompletions = true,
analyses = {
unusedparams = true,
shadow = true,
@ -66,6 +67,9 @@ nvim_lsp.gopls.setup({
},
},
},
init_options = {
usePlaceholders = true,
},
capabilities = capabilities,
on_attach = on_attach,
})