diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua index 3c401de..57e2ec0 100644 --- a/lua/user/lsp/handlers.lua +++ b/lua/user/lsp/handlers.lua @@ -84,6 +84,9 @@ M.on_attach = function(client, bufnr) if client.name == "tsserver" then client.resolved_capabilities.document_formatting = false end + if client.name == "gopls" then + client.resolved_capabilities.languageServerExperimentalFeatures.diagnostics = false + end lsp_keymaps(bufnr) lsp_highlight_document(client) end