summaryrefslogtreecommitdiff
path: root/test/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-02 19:44:35 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-02 19:44:35 +0800
commit95437dacc0ecfdf7ee6c4b158fbba6dbc21aecd3 (patch)
treeaeb736b38def3368eaa49d7bd863e72d0f59b97d /test/hover/init.lua
parent36a5c10b00160c85a8c29170b5d5de8b27b4a5c9 (diff)
downloadlua-language-server-95437dacc0ecfdf7ee6c4b158fbba6dbc21aecd3.zip
update hover of async
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r--test/hover/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 54fab5fc..404adb44 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1724,3 +1724,11 @@ local function <?f?>() end
function f()
-> nil
]]
+
+TEST [[
+---@async
+local function <?f?>() end
+]]
+[[
+async function f()
+]]