From f542125e9270f4fdd43e8f0a65bd15618a05c852 Mon Sep 17 00:00:00 2001 From: Martin Lasson Date: Tue, 4 Feb 2025 23:32:29 +0100 Subject: [PATCH] Remove inlay hints from gopls, theyre not as needed in go as other languages, and they work poorly as well. --- nvim/lua/lsp/servers/gopls.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nvim/lua/lsp/servers/gopls.lua b/nvim/lua/lsp/servers/gopls.lua index d59bc8e..f20cc50 100644 --- a/nvim/lua/lsp/servers/gopls.lua +++ b/nvim/lua/lsp/servers/gopls.lua @@ -5,11 +5,6 @@ return { filetypes = { "go", "gomod", "gowork", "gotmpl" }, settings = { gopls = { - ["ui.inlayhints.hints"] = { - compositeLiteralFields = true, - constantValues = true, - parameterNames = true, - }, analyses = { unusedparams = true, },