diff --git a/vim/lua/lsp_config.lua b/vim/lua/lsp_config.lua index cda3b5a..aa81e31 100644 --- a/vim/lua/lsp_config.lua +++ b/vim/lua/lsp_config.lua @@ -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, })