Skip to content

Configure Omnisharp #279

Answered by VonHeikemen
Wiliamfm asked this question in Q&A
Discussion options

You must be logged in to vote

Neovim's documentation about that error E5248 suggest this is related to syntax highlight. Um... try to disable semantic highlight, like this.

lsp_config['omnisharp'].setup {
    handlers = {
    ["textDocument/definition"] = require('omnisharp_extended').handler,
  },
    cmd = { '/usr/bin/OmniSharp', '--languageserver' },
    on_init = function(client)
      client.server_capabilities.semanticTokensProvider = nil
    end
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Wiliamfm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants