summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-15 17:00:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-15 17:00:50 +0800
commitaa100883142d9512fc9e1de5832c72a3cda0bdfe (patch)
tree8719ec0ef0d76a6e75ba66873c8a8b710fcbdaf8 /script/provider
parent3b194eccf878918e7202a98f4765c3015eb93d28 (diff)
parent9fbcebbad7861dc842937d88b86d3f6e7039f9d7 (diff)
downloadlua-language-server-aa100883142d9512fc9e1de5832c72a3cda0bdfe.zip
Merge branch 'B2.4.8'
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/provider.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 6288ae02..d732f3c2 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -953,6 +953,9 @@ do
if not config.get 'Lua.hint.enable' then
return
end
+ await.close 'updateHint'
+ await.setID 'updateHint'
+ workspace.awaitReady()
local visibles = files.getVisibles(uri)
if not visibles then
return