diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-17 19:06:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-17 19:06:19 +0800 |
commit | 838ee5bc29e8babae65d7c56e3e49c5179faeeeb (patch) | |
tree | d24bcc6d180be22501bd26f6d0662c2b0aebac72 | |
parent | d319b38845ce4213087c4805b70a51f09e11533b (diff) | |
download | lua-language-server-838ee5bc29e8babae65d7c56e3e49c5179faeeeb.zip |
pass tests
-rw-r--r-- | test/completion/init.lua | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua index 662df84e..69ca83c3 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -1071,10 +1071,10 @@ function$ { label = 'function ()', kind = define.CompletionItemKind.Snippet, - insertText = [[ -function $1($2) - $0 -end]], + insertText = "\z +function $1($2)\ +\t$0\ +end", }, } @@ -1089,10 +1089,10 @@ local t = function$ { label = 'function ()', kind = define.CompletionItemKind.Snippet, - insertText = [[ -function ($1) - $0 -end]], + insertText = "\z +function ($1)\ +\t$0\ +end", }, } Cared['insertText'] = false @@ -1964,10 +1964,10 @@ f($) { label = 'fun(x: number, y: number):string', kind = define.CompletionItemKind.Function, - insertText = [[ -function (${1:x}, ${2:y}) - $0 -end]], + insertText = "\z +function (${1:x}, ${2:y})\ +\t$0\ +end", }, } Cared['insertText'] = nil |