summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-26 10:32:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-26 10:32:30 +0800
commitcac8e5971b885a8a4dd865713bf0cd2972b1f011 (patch)
tree5a34314ec10603591a38c5f9c86ffd4c994a29df /test
parent5c9c05ef68f781d95a967aa42c66696121df14fe (diff)
downloadlua-language-server-cac8e5971b885a8a4dd865713bf0cd2972b1f011.zip
fix tail doc
Diffstat (limited to 'test')
-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 3efe29e3..4bfde29e 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1433,3 +1433,11 @@ local <?x?> --- @type boolean
[[
local x: boolean
]]
+
+TEST [[
+local x --- @type boolean
+local <?y?>
+]]
+[[
+local y: any
+]]