chore: add original config back

This commit is contained in:
Stevan Freeborn
2025-09-30 12:30:49 -05:00
parent 34858742f7
commit 1b451d269f
+17
View File
@@ -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")