Closed gnmearacaun closed 2 years ago
I noticed Chris has changed the function in his personal config to (gets rid of errors too)
local function lsp_highlight_document(client)
-- if client.server_capabilities.document_highlight then
local status_ok, illuminate = pcall(require, "illuminate")
if not status_ok then
return
end
illuminate.on_attach(client)
-- end
end
temporary fix
moved to pull request https://github.com/LunarVim/Neovim-from-scratch/pull/144
this is giving the following error:
It seemed obvious to change
client.resolved_capabilities
toclient.server_capabilities
. The error went away however treesitter highlight stopped working, so a better fix is out there.