summaryrefslogtreecommitdiff
path: root/test/references/common.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-25 21:38:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-25 21:38:57 +0800
commit5ec8ad22d27051507c55d49d6144f08132976215 (patch)
tree75c843f738c0283eb19516293f857d29560d9b3c /test/references/common.lua
parent24f4dfa889cc66bd05223e5d8d36fa19865c772b (diff)
downloadlua-language-server-5ec8ad22d27051507c55d49d6144f08132976215.zip
cleanup
Diffstat (limited to 'test/references/common.lua')
-rw-r--r--test/references/common.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/references/common.lua b/test/references/common.lua
index 20ddd353..b46aa81f 100644
--- a/test/references/common.lua
+++ b/test/references/common.lua
@@ -96,7 +96,7 @@ t.x = 1
t[a.b.<?x?>] = 1
]]
-config.set('Lua.IntelliSense.traceBeSetted', true)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', true)
TEST [[
local t
local <!f!> = t.<?f?>
@@ -107,7 +107,7 @@ return {
<!f!> = <!f!>,
}
]]
-config.set('Lua.IntelliSense.traceBeSetted', false)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', false)
TEST [[
self = {
@@ -142,7 +142,7 @@ a.<!b!>.c = 1
print(a.<?b?>.c)
]]
-config.set('Lua.IntelliSense.traceBeSetted', true)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', true)
TEST [[
local <?f?>
local t = {
@@ -150,14 +150,14 @@ local t = {
}
print(t.<!a!>)
]]
-config.set('Lua.IntelliSense.traceBeSetted', false)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', false)
TEST [[
local <!f!>
local <!t!> = <?f?>
]]
-config.set('Lua.IntelliSense.traceBeSetted', true)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', true)
TEST [[
local <!f!>
a.<!t!> = <?f?>
@@ -166,19 +166,19 @@ a.<!t!> = <?f?>
TEST [[
<!t!>.<!f!> = <?t?>
]]
-config.set('Lua.IntelliSense.traceBeSetted', false)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', false)
TEST [[
local <!f!>
local <?t?> = <!f!>
]]
-config.set('Lua.IntelliSense.traceBeSetted', true)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', true)
TEST [[
local <!t!>
<!t!>.<!f!> = <?t?>
]]
-config.set('Lua.IntelliSense.traceBeSetted', false)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', false)
TEST [[
_G.<?xxx?> = 1