summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
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'
+]]