From 629a68029d1f2344f4f7526d576250ad0e526c1f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 20 Apr 2026 18:43:22 +0200 Subject: fix custom ls workspace root detection find_root_uri should consider the root configuration option for each language server, however currently non-existent table member is checked. Reported-By: lieks Suggested-By: lieks --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 52f8d08..77a254a 100644 --- a/init.lua +++ b/init.lua @@ -1308,7 +1308,7 @@ end local function find_root_uri(ls, file_path) local globs = '' - local roots = ls.roots + local roots = ls.conf.roots if roots then for _, glob in ipairs(roots) do globs = globs .. glob .. '\n' -- cgit v1.2.3