summaryrefslogtreecommitdiff
path: root/test/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-18 02:39:47 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-18 02:39:47 +0800
commit3494b7f1d0e93060cf0826f4f6c1b81d0d5e37a5 (patch)
tree4187ed3a012a64e9215284a90d89224106e837f4 /test/hover/init.lua
parentc0b4b0299dc7b7efc667ef7fb0957e079ad8a411 (diff)
downloadlua-language-server-3494b7f1d0e93060cf0826f4f6c1b81d0d5e37a5.zip
update
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 48daf593..0925db77 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1939,3 +1939,11 @@ print(x.<?y?>)
[[
(field) x.y: unknown
]]
+
+TEST [[
+---@async
+x({}, <?function?> () end)
+]]
+[[
+(async) function ()
+]]