summaryrefslogtreecommitdiff
path: root/script/service/service.lua
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/service/service.lua
parentbf9e6936218ff6f84ff6fc17c3e6cb0e46d81488 (diff)
downloadlua-language-server-24f4dfa889cc66bd05223e5d8d36fa19865c772b.zip
create workspaces in server
Diffstat (limited to 'script/service/service.lua')
-rw-r--r--script/service/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/service.lua b/script/service/service.lua
index 973b5745..a961d03c 100644
--- a/script/service/service.lua
+++ b/script/service/service.lua
@@ -190,7 +190,7 @@ function m.reportStatus()
info.text = '😺Lua'
end
info.tooltip = lang.script('WINDOW_LUA_STATUS', {
- ws = ws.path or '',
+ ws = ws.rootPath or '',
ast = files.astCount,
max = files.fileCount,
mem = collectgarbage('count') / 1000,