summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-28 16:55:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-28 16:55:18 +0800
commit39f95770e98f5b081da340bd3b6071f210feb0a8 (patch)
tree5e6e649c1b7b7a8e786ec11f0e8d7be7c95605ed /server/test
parent2220abed24856f8f6265b6126de128540c429dea (diff)
downloadlua-language-server-39f95770e98f5b081da340bd3b6071f210feb0a8.zip
过测试
Diffstat (limited to 'server/test')
-rw-r--r--server/test/completion/init.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index dd17b463..20436845 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -252,7 +252,6 @@ loc$
label = 'local function',
kind = CompletionItemKind.Snippet,
insertText = EXISTS,
- insertTextFormat = 2,
}
}
@@ -420,6 +419,11 @@ print(fff)
kind = CompletionItemKind.Keyword,
},
{
+ label = 'function name()',
+ kind = CompletionItemKind.Snippet,
+ insertText = EXISTS,
+ },
+ {
label = 'ff2',
kind = CompletionItemKind.Text,
},
@@ -854,7 +858,6 @@ else$
label = 'elseif .. then',
kind = CompletionItemKind.Snippet,
insertText = EXISTS,
- insertTextFormat = 2,
}
}
@@ -1195,7 +1198,6 @@ end
{
label = 'elseif .. then',
kind = CompletionItemKind.Snippet,
- insertTextFormat = 2,
insertText = EXISTS,
},
}