diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-11 17:07:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-11 17:07:31 +0800 |
commit | 62dee501181ebfa374c827df5a15ea9461f38b73 (patch) | |
tree | 0e35d3e05bff26818c5bdc6bcba900163be7d516 /script/vm | |
parent | f10dd2af22efeb5330f2da23d615ff7bc213b1eb (diff) | |
download | lua-language-server-62dee501181ebfa374c827df5a15ea9461f38b73.zip |
update
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/docs.lua | 7 | ||||
-rw-r--r-- | script/vm/globals.lua | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/script/vm/docs.lua b/script/vm/docs.lua index 5f1b0bdc..95cb4127 100644 --- a/script/vm/docs.lua +++ b/script/vm/docs.lua @@ -37,11 +37,8 @@ end files.watch(function (ev, uri) if ev == 'update' then - await.call(function () - popDocs(uri) - await.delay() - pushDocs(uri) - end) + popDocs(uri) + pushDocs(uri) end end) diff --git a/script/vm/globals.lua b/script/vm/globals.lua index b16803b9..6a481bd1 100644 --- a/script/vm/globals.lua +++ b/script/vm/globals.lua @@ -37,11 +37,8 @@ end files.watch(function (ev, uri) if ev == 'update' then - await.call(function () - popGlobals(uri) - await.delay() - pushGlobals(uri) - end) + popGlobals(uri) + pushGlobals(uri) end end) |