Disable gopls diagnostics

Fixes #178
pull/181/head
Thompson, Brian 3 years ago
parent f142d54946
commit 9a0a272cad

@ -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

Loading…
Cancel
Save