From b34c08e0ea22bac67798f00238318fd16bd99b7c Mon Sep 17 00:00:00 2001 From: Matthew Wilding Date: Tue, 23 Dec 2025 06:40:38 +0800 Subject: fix(roslyn_ls): attach in decompiled code #4254 --- lsp/roslyn_ls.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lsp/roslyn_ls.lua b/lsp/roslyn_ls.lua index 0b49f284..0cc7a7a2 100644 --- a/lsp/roslyn_ls.lua +++ b/lsp/roslyn_ls.lua @@ -159,6 +159,11 @@ return { if root_dir then cb(root_dir) end + else + local existing_client = vim.lsp.get_clients({ name = 'roslyn_ls' })[1] + if existing_client and existing_client.config.root_dir then + cb(existing_client.config.root_dir) + end end end, on_init = { -- cgit v1.2.3-70-g09d2