summaryrefslogtreecommitdiff
path: root/meta/3rd
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-07 20:32:44 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-07 20:32:44 +0800
commit428d32055f1b7b5bce8a0fd75eeedf4114f8a7ec (patch)
tree228cebacdc651b297be60b48a7fe6555021101a3 /meta/3rd
parentf1b5ad2ee92ea9d1656a82fb4dbd0be32cb91ea8 (diff)
downloadlua-language-server-428d32055f1b7b5bce8a0fd75eeedf4114f8a7ec.zip
cleanup
Diffstat (limited to 'meta/3rd')
-rw-r--r--meta/3rd/example/config.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/3rd/example/config.lua b/meta/3rd/example/config.lua
index 17b6ab06..7bf8e04a 100644
--- a/meta/3rd/example/config.lua
+++ b/meta/3rd/example/config.lua
@@ -5,20 +5,20 @@ files = {'thisIsAnExampleFile%.ifItExistsInWorkSpace%.thenTryLoadThisLibrary'}
-- lsit of settings to be changed
configs = {
{
- name = 'Lua.runtime.version',
- type = 'set',
- value = 'LuaJIT',
+ key = 'Lua.runtime.version',
+ action = 'set',
+ value = 'LuaJIT',
},
{
- name = 'Lua.diagnostics.globals',
- type = 'add',
- value = 'global1',
+ key = 'Lua.diagnostics.globals',
+ action = 'add',
+ value = 'global1',
}
}
for _, name in ipairs {'global2', 'global3', 'global4'} do
configs[#configs+1] = {
- name = 'Lua.diagnostics.globals',
- type = 'add',
- value = name,
+ key = 'Lua.diagnostics.globals',
+ action = 'add',
+ value = name,
}
end