aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/csharp_ls.lua
diff options
context:
space:
mode:
authorJoseph Guenther <76707331+CoolCoderSuper@users.noreply.github.com>2025-06-21 05:30:00 -0400
committerGitHub <noreply@github.com>2025-06-21 02:30:00 -0700
commit50d72cb4145566c90f6ae2cfc633a84eeffc4ea7 (patch)
tree75ecfacc38e4ed0cd5f31ec8bd5d1aa1c48f1828 /lsp/csharp_ls.lua
parentfix(powershell_es): unknown LogLevel breaks LSP #3920 (diff)
downloadnvim-lspconfig-50d72cb4145566c90f6ae2cfc633a84eeffc4ea7.tar
nvim-lspconfig-50d72cb4145566c90f6ae2cfc633a84eeffc4ea7.tar.gz
nvim-lspconfig-50d72cb4145566c90f6ae2cfc633a84eeffc4ea7.tar.bz2
nvim-lspconfig-50d72cb4145566c90f6ae2cfc633a84eeffc4ea7.tar.lz
nvim-lspconfig-50d72cb4145566c90f6ae2cfc633a84eeffc4ea7.tar.xz
nvim-lspconfig-50d72cb4145566c90f6ae2cfc633a84eeffc4ea7.tar.zst
nvim-lspconfig-50d72cb4145566c90f6ae2cfc633a84eeffc4ea7.zip
fix(csharp_ls): add "slnx" root pattern #3921
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 = {