go action failure

pull/316/head
ray-x 1 year ago
parent 55fe49fcaf
commit fd88c61e5d

@ -98,11 +98,13 @@ local on_attach = function(client, bufnr)
and not client.server_capabilities.semanticTokensProvider
then
local semantic = client.config.capabilities.textDocument.semanticTokens
client.server_capabilities.semanticTokensProvider = {
full = true,
legend = { tokenModifiers = semantic.tokenModifiers, tokenTypes = semantic.tokenTypes },
range = true,
}
if semantic then
client.server_capabilities.semanticTokensProvider = {
full = true,
legend = { tokenModifiers = semantic.tokenModifiers, tokenTypes = semantic.tokenTypes },
range = true,
}
end
end
end

Loading…
Cancel
Save