omnisharp-roslyn
omnisharp-roslyn copied to clipboard
Error E5248 in Neovim 0.9
I am using omnisharp-roslyn by Mason.
Similar to an issue on rescript-vscode project. https://github.com/rescript-lang/rescript-vscode/issues/758.
The temporary workaround for this is to disable semanticTokensProvider in your LSP client
on_attach = function(client, bufnr)
if client.name == "omnisharp" then
client.server_capabilities.semanticTokensProvider = nil
end
end
Sorry, I just recently installed astronim and immediately ran into this problem. Can you tell me where to enter these lines?
@Elektroplayer the @cptchuckles's workaround works for me.
Here my dotfiles: https://github.com/fraidev/dotfiles/blob/87585f335d5b59a32bee79f78f432534fb505b98/config/nvim/lua/plugins/lspconfig.lua#L137
Hey @fraidev this workaround is future-proof, have a look if you can https://github.com/OmniSharp/omnisharp-roslyn/issues/2483#issuecomment-1539809155