diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-04-20 18:43:22 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-04-20 18:43:22 +0200 |
| commit | 629a68029d1f2344f4f7526d576250ad0e526c1f (patch) | |
| tree | 9dd999b1a5fd7fe589514f024d004c0b7d75914d | |
| parent | 97d8bfa7adff156afe1dcf1e833c6dd864f6b5bf (diff) | |
| download | vis-lspc-629a68029d1f2344f4f7526d576250ad0e526c1f.tar.gz vis-lspc-629a68029d1f2344f4f7526d576250ad0e526c1f.zip | |
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
| -rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' |
