summaryrefslogtreecommitdiff
path: root/script/service/telemetry.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-02 19:25:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-02 19:25:37 +0800
commit36a5c10b00160c85a8c29170b5d5de8b27b4a5c9 (patch)
treef6db7d3d69bc24fecf16f3a3439d489dc5c43bf9 /script/service/telemetry.lua
parentc16264eac3b25f6f2bce14b0504071787bd2bc54 (diff)
downloadlua-language-server-36a5c10b00160c85a8c29170b5d5de8b27b4a5c9.zip
mark async
Diffstat (limited to 'script/service/telemetry.lua')
-rw-r--r--script/service/telemetry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/telemetry.lua b/script/service/telemetry.lua
index 1ab3fdbe..dac72f3f 100644
--- a/script/service/telemetry.lua
+++ b/script/service/telemetry.lua
@@ -111,7 +111,7 @@ function m.updateConfig()
end
m.hasShowedMessage = true
- await.call(function ()
+ await.call(function () ---@async
local enableTitle = lang.script.WINDOW_TELEMETRY_ENABLE
local disableTitle = lang.script.WINDOW_TELEMETRY_DISABLE
local item = proto.awaitRequest('window/showMessageRequest', {