summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-01 15:52:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-15 13:56:29 +0800
commit3dec75e8717735ba5e1a921e7b407df6048900e3 (patch)
tree7b72d66eeac4898d9d9bdd03d63d6e69aa6f3468
parentc25393271906d47b3553b3a6f3a9b227c9805592 (diff)
downloadlua-language-server-3dec75e8717735ba5e1a921e7b407df6048900e3.zip
fix #778
-rw-r--r--changelog.md3
-rw-r--r--script/provider/provider.lua2
2 files changed, 5 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 19520163..b1f04989 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,8 @@
# changelog
+## 2.4.8
+* `FIX` [#778](https://github.com/sumneko/lua-language-server/issues/778)
+
## 2.4.7
`2021-10-27`
* `FIX` [#762](https://github.com/sumneko/lua-language-server/issues/762)
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index ac16c4e3..8932c373 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -831,6 +831,8 @@ 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