diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-02-21 16:34:37 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-02-21 16:34:37 +0800 |
commit | fe2a2fdccc5d8e0dcafb76d9516e228b40a09bda (patch) | |
tree | a256830540f383fc22aa6a31e7bb9e39f896a4c5 /script/workspace | |
parent | a2c126984c583497c52eda0d311abac0d352fa12 (diff) | |
download | lua-language-server-fe2a2fdccc5d8e0dcafb76d9516e228b40a09bda.zip |
fix runtime error
Diffstat (limited to 'script/workspace')
-rw-r--r-- | script/workspace/workspace.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index cb8bd68b..80df7d9c 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -234,6 +234,7 @@ end ---@async function m.awaitLoadFile(uri) + m.awaitReady(uri) local scp = scope.getScope(uri) local ld <close> = loading.create(scp) local native = m.getNativeMatcher(scp) |