|
|
@ -84,6 +84,9 @@ M.on_attach = function(client, bufnr)
|
|
|
|
if client.name == "tsserver" then
|
|
|
|
if client.name == "tsserver" then
|
|
|
|
client.resolved_capabilities.document_formatting = false
|
|
|
|
client.resolved_capabilities.document_formatting = false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if client.name == "gopls" then
|
|
|
|
|
|
|
|
client.resolved_capabilities.languageServerExperimentalFeatures.diagnostics = false
|
|
|
|
|
|
|
|
end
|
|
|
|
lsp_keymaps(bufnr)
|
|
|
|
lsp_keymaps(bufnr)
|
|
|
|
lsp_highlight_document(client)
|
|
|
|
lsp_highlight_document(client)
|
|
|
|
end
|
|
|
|
end
|
|
|
|