diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-09 16:57:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-09 16:57:03 +0800 |
commit | 0d5154ea32e8aace5866a67cb42992baff9e16be (patch) | |
tree | f10ae74b086c69aada348768ff6163592189eb63 /script/core | |
parent | 670dc93567d88e8d2ef288dc3c266d591c90beb5 (diff) | |
download | lua-language-server-0d5154ea32e8aace5866a67cb42992baff9e16be.zip |
completion: call snip triggers signature
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/completion.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua index 26776634..ad8dd466 100644 --- a/script/core/completion.lua +++ b/script/core/completion.lua @@ -210,6 +210,10 @@ local function buildFunction(results, source, value, oop, data) snipData.kind = define.CompletionItemKind.Snippet snipData.insertText = buildFunctionSnip(source, value, oop) snipData.insertTextFormat = 2 + snipData.command = { + title = 'trigger signature', + command = 'editor.action.triggerParameterHints', + } snipData.id = stack(function () return { detail = buildDetail(source), |