diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-07 16:37:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-07 16:37:29 +0800 |
commit | a8c95b64d7e8a8481cbe961b8b872ef0710d618f (patch) | |
tree | 7cae49375d0387d2a813f37ce82718f01ebd1505 /test | |
parent | 24b83882cfca469a797bf5536f2d5c68762189bb (diff) | |
download | lua-language-server-a8c95b64d7e8a8481cbe961b8b872ef0710d618f.zip |
fix call snip
Diffstat (limited to 'test')
-rw-r--r-- | test/completion/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua index b2cac99d..89772853 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -2479,6 +2479,7 @@ TEST [[ } } +Cared['insertText'] = true TEST [[ ---@overload fun(a: any, b: any) local function zzzz(a) end @@ -2488,17 +2489,21 @@ zzzz$ { label = 'zzzz(a)', kind = define.CompletionItemKind.Function, + insertText = 'zzzz', }, { label = 'zzzz(a)', kind = define.CompletionItemKind.Snippet, + insertText = 'zzzz(${1:a: any})', }, { label = 'zzzz(a, b)', kind = define.CompletionItemKind.Function, + insertText = 'zzzz', }, { label = 'zzzz(a, b)', kind = define.CompletionItemKind.Snippet, + insertText = 'zzzz(${1:a: any}, ${2:b: any})', }, } |