fix(editors): fix omnisharp config
This commit is contained in:
parent
5fa9c0c87b
commit
d6a1fb467b
|
@ -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
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
|
|
@ -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, ';')
|
||||
|
|
Loading…
Reference in a new issue