diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-11 19:01:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-11 19:01:53 +0800 |
commit | ec20a72e9dc6eab4a7aaa2f407e1496d40e4c6eb (patch) | |
tree | e844f838a38aee272b8484840b16bb228f5ac325 /test/completion | |
parent | 87673cfad9e4fc32a2023c24a3d7d2248e8d2916 (diff) | |
download | lua-language-server-ec20a72e9dc6eab4a7aaa2f407e1496d40e4c6eb.zip |
stash
Diffstat (limited to 'test/completion')
-rw-r--r-- | test/completion/init.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua index edea2978..6e0faf60 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -1952,3 +1952,18 @@ vvv$ description = EXISTS, }, } + +--TEST [[ +-----@param callback fun(x: number, y: number):string +--local function f(callback) +-- +--f($) +--]] +--{ +-- { +-- label = 'fun(x: number, y: number):string', +-- detail = 'function', +-- kind = define.CompletionItemKind.Function, +-- description = EXISTS, +-- }, +--} |