From 8f9a26b5cec956660c0b8ab342807d6b14f87d42 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 1 Oct 2023 08:10:15 +0200 Subject: [PATCH] fix(nvim): gopls config --- vim/lua/lsp_config.lua | 4 ++++ 1 file changed, 4 insertions(+) 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, })