summaryrefslogtreecommitdiff
path: root/script/workspace/workspace.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-18 17:03:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-18 17:03:05 +0800
commitc6cac231b097f0a0aaea76e03bb50bdbdd363809 (patch)
treee51ba03f013fcb40b994737f48ed60f10622b1ce /script/workspace/workspace.lua
parent2f984c1a2baf162f72240ca7b7f3f530459a71f4 (diff)
parent9e8901c5d09b4537a5741fd20dc5cc77c5a23dce (diff)
downloadlua-language-server-c6cac231b097f0a0aaea76e03bb50bdbdd363809.zip
Merge branch 'client-test'
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r--script/workspace/workspace.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index c11d3e78..159f397b 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -55,6 +55,7 @@ function m.reset()
---@type scope[]
m.folders = {}
m.rootUri = nil
+ m.inited = false
end
m.reset()
@@ -385,9 +386,6 @@ function m.reload(scp)
if not m.inited then
return
end
- if TEST then
- return
- end
---@async
await.call(function ()
m.awaitReload(scp)