summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-25 20:28:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-25 20:28:11 +0800
commit24f4dfa889cc66bd05223e5d8d36fa19865c772b (patch)
treebae27e55ab5d7baebffc035d8da22249421def2c /script/core
parentbf9e6936218ff6f84ff6fc17c3e6cb0e46d81488 (diff)
downloadlua-language-server-24f4dfa889cc66bd05223e5d8d36fa19865c772b.zip
create workspaces in server
Diffstat (limited to 'script/core')
-rw-r--r--script/core/hover/description.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua
index 725ea7a5..2945d47f 100644
--- a/script/core/hover/description.lua
+++ b/script/core/hover/description.lua
@@ -11,7 +11,7 @@ local guide = require 'parser.guide'
local noder = require 'core.noder'
local function collectRequire(mode, literal)
- local rootPath = ws.path or ''
+ local rootPath = ws.rootPath or ''
local result, searchers
if mode == 'require' then
result, searchers = ws.findUrisByRequirePath(literal)