summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-15 17:11:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-15 17:11:11 +0800
commitac3235f4e9b800b0726a2e90555b109d5b58abfb (patch)
treedcf79c70ef825c7ac9462a93c86a782907a6c834 /test/hover
parent59b2b8eb9d0eadd5de1eabf366d8b99b63660719 (diff)
downloadlua-language-server-ac3235f4e9b800b0726a2e90555b109d5b58abfb.zip
fix hover
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 82cf1ddf..0954ac80 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -2112,3 +2112,11 @@ print(<?bool?>)
[[
local bool: boolean = true|false
]]
+
+TEST [[
+---@type 'a'
+local <?s?>
+]]
+[[
+local s: 'a'
+]]