diff --git a/home/editors/lsp.nix b/home/editors/lsp.nix index 9f54978..6a4e2be 100644 --- a/home/editors/lsp.nix +++ b/home/editors/lsp.nix @@ -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 } } ''; diff --git a/home/editors/neovim/lsp/lsp.lua b/home/editors/neovim/lsp/lsp.lua index 88bbbcb..45847eb 100644 --- a/home/editors/neovim/lsp/lsp.lua +++ b/home/editors/neovim/lsp/lsp.lua @@ -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, ';')