summaryrefslogtreecommitdiff
path: root/script/workspace
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-22 11:19:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-22 11:49:32 +0800
commitf0003c7e75767e42b34d24be6ce24bf90ead04cf (patch)
treea1b88c0f7c4bb3726585d321d07a0a94b8cadc1c /script/workspace
parent6bcbd2181ddbb0fac0d8a2511c5fada0b63ff2c5 (diff)
downloadlua-language-server-f0003c7e75767e42b34d24be6ce24bf90ead04cf.zip
add TODO in awaitReady
Diffstat (limited to 'script/workspace')
-rw-r--r--script/workspace/workspace.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 88451940..f222e907 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -472,6 +472,7 @@ end
---等待工作目录加载完成
function m.awaitReady()
+ -- TODO maintain order
while not m.ready do
await.sleep(0.1)
end