summaryrefslogtreecommitdiff
path: root/test/signature
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-01 11:34:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-01 11:34:09 +0800
commit4466051f18270c83a9d7a90f7fb9c19bfacf4d40 (patch)
treecac4cd2a59ca1ec6b3e29e8ef7129cbfbefca54b /test/signature
parentee1195cfadd0e290aa8de2487d9df7902d05ac51 (diff)
downloadlua-language-server-4466051f18270c83a9d7a90f7fb9c19bfacf4d40.zip
fix #273 missing signature help of global function
Diffstat (limited to 'test/signature')
-rw-r--r--test/signature/init.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua
index f06f8193..765e0814 100644
--- a/test/signature/init.lua
+++ b/test/signature/init.lua
@@ -160,3 +160,17 @@ TEST [[
('abc'):format(f($))
]]
(nil)
+
+TEST [[
+function Foo(param01, param02)
+
+end
+
+Foo($)
+]]
+{
+ label = [[
+function Foo(param01: any, param02: any)
+]],
+ arg = {14, 25},
+}