aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/csharp_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/csharp_ls.lua')
-rw-r--r--lsp/csharp_ls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/csharp_ls.lua b/lsp/csharp_ls.lua
index 4e29c4bb..e44bc81a 100644
--- a/lsp/csharp_ls.lua
+++ b/lsp/csharp_ls.lua
@@ -14,7 +14,7 @@ return {
cmd = { 'csharp-ls' },
root_dir = function(bufnr, on_dir)
local fname = vim.api.nvim_buf_get_name(bufnr)
- on_dir(util.root_pattern '*.sln'(fname) or util.root_pattern '*.csproj'(fname))
+ on_dir(util.root_pattern '*.sln'(fname) or util.root_pattern '*.slnx'(fname) or util.root_pattern '*.csproj'(fname))
end,
filetypes = { 'cs' },
init_options = {