diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-25 21:38:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-25 21:38:57 +0800 |
commit | 5ec8ad22d27051507c55d49d6144f08132976215 (patch) | |
tree | 75c843f738c0283eb19516293f857d29560d9b3c /test/completion | |
parent | 24f4dfa889cc66bd05223e5d8d36fa19865c772b (diff) | |
download | lua-language-server-5ec8ad22d27051507c55d49d6144f08132976215.zip |
cleanup
Diffstat (limited to 'test/completion')
-rw-r--r-- | test/completion/common.lua | 12 | ||||
-rw-r--r-- | test/completion/continue.lua | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua index 60a5f2ac..fad0df8e 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -1,10 +1,10 @@ local define = require 'proto.define' local config = require 'config' -config.set('Lua.completion.callSnippet', 'Both') -config.set('Lua.completion.keywordSnippet', 'Both') -config.set('Lua.completion.workspaceWord', false) -config.set('Lua.completion.showWord', 'Enable') +config.set(nil, 'Lua.completion.callSnippet', 'Both') +config.set(nil, 'Lua.completion.keywordSnippet', 'Both') +config.set(nil, 'Lua.completion.workspaceWord', false) +config.set(nil, 'Lua.completion.showWord', 'Enable') TEST [[ local zabcde @@ -805,7 +805,7 @@ print(io.<??>) ]] (EXISTS) -require 'config'.set('Lua.runtime.version', 'Lua 5.4') +require 'config'.set(nil, 'Lua.runtime.version', 'Lua 5.4') --TEST [[ --local <??> --]] @@ -2402,7 +2402,7 @@ end ]] (EXISTS) -config.set('Lua.completion.callSnippet', 'Disable') +config.set(nil, 'Lua.completion.callSnippet', 'Disable') TEST [[ GGG = 1 diff --git a/test/completion/continue.lua b/test/completion/continue.lua index 63f970e9..83eaf270 100644 --- a/test/completion/continue.lua +++ b/test/completion/continue.lua @@ -1,9 +1,9 @@ local define = require 'proto.define' local config = require 'config' -config.set('Lua.completion.callSnippet', 'Disable') -config.set('Lua.completion.keywordSnippet', 'Disable') -config.set('Lua.completion.workspaceWord', false) +config.set(nil, 'Lua.completion.callSnippet', 'Disable') +config.set(nil, 'Lua.completion.keywordSnippet', 'Disable') +config.set(nil, 'Lua.completion.workspaceWord', false) ContinueTyping = true |