summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-24 17:42:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-24 17:42:34 +0800
commita14c2e0f451078a9c11808d4741ecc88d280ccc1 (patch)
tree6edead0ae8b2607b48a22b572b751a42b8603871 /test
parentaf0eba42be501bbbde95b15bcc8da191c21a9c1c (diff)
downloadlua-language-server-a14c2e0f451078a9c11808d4741ecc88d280ccc1.zip
support tail luadoc
Diffstat (limited to 'test')
-rw-r--r--test/hover/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index cd3313cb..3efe29e3 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1426,3 +1426,10 @@ local function f(<?callback?>) end
[[
function (x: integer, ...)
]]
+
+TEST [[
+local <?x?> --- @type boolean
+]]
+[[
+local x: boolean
+]]