summaryrefslogtreecommitdiff
path: root/test/completion/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-06-08 10:44:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-06-08 10:44:55 +0800
commit7b1143ee0144be3ab7c1492563fe931ff1f00aaf (patch)
tree4141fc724a5de4471d6944e40896c5ff6270cb9f /test/completion/init.lua
parent1696fb268f2a08c51ae703fe2dcd93e7f2a4b8b7 (diff)
downloadlua-language-server-7b1143ee0144be3ab7c1492563fe931ff1f00aaf.zip
过测试
Diffstat (limited to 'test/completion/init.lua')
-rw-r--r--test/completion/init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index 76c0d910..043d54a0 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -1,6 +1,7 @@
-local core = require 'core'
+local core = require 'core'
local parser = require 'parser'
local buildVM = require 'vm'
+local config = require 'config'
local CompletionItemKind = {
Text = 1,
@@ -77,6 +78,9 @@ function TEST(script)
end
end
+config.config.completion.callSnippet = 'Both'
+config.config.completion.keywordSnippet = 'Both'
+
TEST [[
local zabcde
za$