From 3dec75e8717735ba5e1a921e7b407df6048900e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 1 Nov 2021 15:52:32 +0800 Subject: fix #778 --- changelog.md | 3 +++ script/provider/provider.lua | 2 ++ 2 files changed, 5 insertions(+) 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 -- cgit v1.2.3