Browse Source

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

Pasi Bergman 4 năm trước cách đây
mục cha
commit
11ac140eb5
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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