summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-09 19:33:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-09 19:33:28 +0800
commitbc92c4dcefc0c87420c7d4b239c1eb4b9d14588c (patch)
tree80b442f8a0c82faf4d4af9a8484bb6cfca8c94ec /test/hover
parentf8f9b68d3e89e602bcfe80fa18b2f5cb0846e846 (diff)
downloadlua-language-server-bc92c4dcefc0c87420c7d4b239c1eb4b9d14588c.zip
add `doc.type.code`
Diffstat (limited to 'test/hover')
-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 dc725f6c..46accbf7 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1921,3 +1921,11 @@ end
[[
(upvalue) x: unknown
]]
+
+TEST [[
+---@type `123 ????` | ` x | y `
+local <?x?>
+]]
+[[
+local x: ` x | y `|`123 ????`
+]]