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"
|
||||
|
||||
vim.lsp.config("omnisharp", {
|
||||
handlers = {
|
||||
["textDocument/definition"] = require("omnisharp_extended").handler,
|
||||
},
|
||||
cmd = { omnisharpCommand },
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
FormattingOptions = {
|
||||
EnableEditorConfigSupport = true,
|
||||
OrganizeImports = true,
|
||||
},
|
||||
RoslynExtensionsOptions = {
|
||||
DocumentAnalysisTimeoutMs = 30000,
|
||||
EnableAnalyzersSupport = true,
|
||||
EnableImportCompletion = true,
|
||||
},
|
||||
Sdk = {
|
||||
IncludePrereleases = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
vim.lsp.enable("omnisharp")
|
||||
|
||||
Reference in New Issue
Block a user