fix(editors): fix omnisharp config

This commit is contained in:
Felix Schröter 2022-07-26 12:58:32 +02:00
parent 5fa9c0c87b
commit d6a1fb467b
Signed by: felschr
GPG key ID: 671E39E6744C807D
2 changed files with 10 additions and 4 deletions

View file

@ -37,13 +37,19 @@
text = ''
{
"msbuild": {
"enablePackageAutoRestore": true
"enablePackageAutoRestore": true,
"loadProjectsOnDemand": true
},
"formattingOptions": {
"enableEditorConfigSupport": true
"enableEditorConfigSupport": true,
"organizeImports": true
},
"roslynExtensionsOptions": {
"enableAnalyzersSupport": true
"enableDecompilationSupport": true,
"enableImportCompletion": true,
"enableAsyncCompletion": true,
"enableAnalyzersSupport": true,
"analyzeOpenDocumentsOnly": true
}
}
'';

View file

@ -74,7 +74,7 @@ config.rust_analyzer.setup{
config.omnisharp.setup{
capabilities = capabilities,
cmd = {"omnisharp", "--languageserver", "--hostPID", tostring(pid)},
cmd = {"OmniSharp", "--languageserver", "--hostPID", tostring(pid)},
}
local runtime_path = vim.split(package.path, ';')