Browse Source

Remove OmniSharp LSP root_dir config after nvim-lspconfig PR #1084 (#1006)

Pasi Bergman 4 years ago
parent
commit
11ac140eb5
1 changed files with 0 additions and 1 deletions
  1. 0 1
      lua/lang/cs.lua

+ 0 - 1
lua/lang/cs.lua

@@ -23,7 +23,6 @@ M.lsp = function()
   -- C# language server (csharp/OmniSharp) setup
   require("lspconfig").omnisharp.setup {
     on_attach = require("lsp").common_on_attach,
-    root_dir = require("lspconfig").util.root_pattern(".sln", ".git"),
     cmd = { DATA_PATH .. "/lspinstall/csharp/omnisharp/run", "--languageserver", "--hostPID", tostring(vim.fn.getpid()) },
   }
 end