summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-01 20:00:22 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-01 20:00:22 +0800
commit71e3ff51d3fb21f3e78a3948809ce4ae92613de2 (patch)
tree936752e4377a48281cd4b1752b53bcda1352d0bb /test/completion
parent8077e3e08f2dd799ef9b5335005f1bf85d6340cd (diff)
downloadlua-language-server-71e3ff51d3fb21f3e78a3948809ce4ae92613de2.zip
cleanup
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index ca88af07..91c66237 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -109,9 +109,9 @@ function TEST(script)
end
end
-config.Lua.completion.callSnippet = 'Both'
-config.Lua.completion.keywordSnippet = 'Both'
-config.Lua.completion.workspaceWord = false
+config.set('Lua.completion.callSnippet', 'Both')
+config.set('Lua.completion.keywordSnippet', 'Both')
+config.set('Lua.completion.workspaceWord', false)
TEST [[
local zabcde
@@ -920,7 +920,7 @@ print(io.$)
]]
(EXISTS)
-require 'config' .Lua.runtime.version = 'Lua 5.4'
+require 'config'.set('Lua.runtime.version', 'Lua 5.4')
--TEST [[
--local $
--]]