chore: add original config back
This commit is contained in:
@@ -83,8 +83,25 @@ return {
|
|||||||
local omnisharpCommand = vim.fn.stdpath("data") .. "/mason/bin/OmniSharp.cmd"
|
local omnisharpCommand = vim.fn.stdpath("data") .. "/mason/bin/OmniSharp.cmd"
|
||||||
|
|
||||||
vim.lsp.config("omnisharp", {
|
vim.lsp.config("omnisharp", {
|
||||||
|
handlers = {
|
||||||
|
["textDocument/definition"] = require("omnisharp_extended").handler,
|
||||||
|
},
|
||||||
cmd = { omnisharpCommand },
|
cmd = { omnisharpCommand },
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
settings = {
|
||||||
|
FormattingOptions = {
|
||||||
|
EnableEditorConfigSupport = true,
|
||||||
|
OrganizeImports = true,
|
||||||
|
},
|
||||||
|
RoslynExtensionsOptions = {
|
||||||
|
DocumentAnalysisTimeoutMs = 30000,
|
||||||
|
EnableAnalyzersSupport = true,
|
||||||
|
EnableImportCompletion = true,
|
||||||
|
},
|
||||||
|
Sdk = {
|
||||||
|
IncludePrereleases = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.enable("omnisharp")
|
vim.lsp.enable("omnisharp")
|
||||||
|
|||||||
Reference in New Issue
Block a user