aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorMichiel van den Heuvel <michielvdnheuvel@gmail.com>2025-02-02 12:57:16 +0100
committerMichiel van den Heuvel <michielvdnheuvel@gmail.com>2025-02-02 12:57:16 +0100
commit0f2a2a8216efbff6eea1979bc013aa9e4dce3769 (patch)
tree59fc6d68e95b9f495dcdc32f7a40f34bce7f8448 /init.lua
parentbae8a0a45393518bbf7914b10bf36139a977cda6 (diff)
downloadvis-lspc-0f2a2a8216efbff6eea1979bc013aa9e4dce3769.tar.gz
vis-lspc-0f2a2a8216efbff6eea1979bc013aa9e4dce3769.zip
Fix undefined conf field in ls
This is something that should only be in the settings branch, watch out when merging these two.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 0cbbe99..3674990 100644
--- a/init.lua
+++ b/init.lua
@@ -1262,7 +1262,7 @@ end
local function find_root_uri(ls, file_path)
local globs = ''
- local roots = ls.conf.roots
+ local roots = ls.roots
if roots then
for _, glob in ipairs(roots) do
globs = globs .. glob .. '\n'