summaryrefslogtreecommitdiff
path: root/test-beta/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-25 01:45:29 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-25 01:45:29 +0800
commit01a7fa509509c49946eda72424af9542f6b5c591 (patch)
treed881754c860c865bc193341ccb9c7b75eb9611de /test-beta/hover/init.lua
parentf15d583f7b5631e47f65a07065b69e09bbf2da66 (diff)
downloadlua-language-server-01a7fa509509c49946eda72424af9542f6b5c591.zip
hover显示函数参数的枚举值
Diffstat (limited to 'test-beta/hover/init.lua')
-rw-r--r--test-beta/hover/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua
index 7f20666a..33590ec1 100644
--- a/test-beta/hover/init.lua
+++ b/test-beta/hover/init.lua
@@ -766,6 +766,16 @@ local t: {
}
]]
+TEST [[
+io.<?popen?>()
+]]
+[[
+```lua
+function io.popen(prog: string, mode: string)
+ -> any
+ 2. error_message: string
+]]
+
--TEST[[
-----@class Class
--local <?x?> = class()