nvim: lsp: Enable semantic token highlighting

This effectively reverts commit 0c9e0eb.
This commit is contained in:
Sanchayan Maity 2023-04-10 17:53:02 +05:30
parent 4c409188be
commit fe7ca593ae
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -159,9 +159,6 @@ local on_attach = function(client, bufnr)
end
end
-- Opt out of semantic highlighting
client.server_capabilities.semanticTokensProvider = nil
if client.server_capabilities.codeLensProvider then
vim.api.nvim_create_autocmd({"CursorHold", "CursorHoldI", "InsertLeave"}, {
group = lsp_augroup_id,