diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-23 17:24:51 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-23 17:24:51 +0800 |
commit | b18329cea47f2de9c50abefecaccf248c16aa398 (patch) | |
tree | ea5db094a4c1671b6df6bf0691c976880ba0c505 /meta/3rd/Defold | |
parent | 2790486d9176170f879f83e363341cc33cfc41c5 (diff) | |
download | lua-language-server-b18329cea47f2de9c50abefecaccf248c16aa398.zip |
change format of `config` in `meta/3rd`
#1607
Diffstat (limited to 'meta/3rd/Defold')
-rw-r--r-- | meta/3rd/Defold/config.lua | 52 |
1 files changed, 16 insertions, 36 deletions
diff --git a/meta/3rd/Defold/config.lua b/meta/3rd/Defold/config.lua index f4dad34e..9c457938 100644 --- a/meta/3rd/Defold/config.lua +++ b/meta/3rd/Defold/config.lua @@ -1,40 +1,20 @@ name = 'Defold' files = {'game.project', '*%.script', '*%.gui_script'} -configs = { - { - key = 'Lua.runtime.version', - action = 'set', - value = 'Lua 5.1', - }, - { - key = 'Lua.workspace.library', - action = 'set', - value = {".internal"}, - }, - { - key = 'Lua.workspace.ignoreDir', - action = 'set', - value = {".internal"}, - }, - { - key = 'Lua.diagnostics.globals', - action = 'set', - value = { - "on_input", - "on_message", - "init", - "update", - "final" - }, - }, - { - key = 'files.associations', - action = 'set', - value = { - ["*.script"] = "lua", - ["*.gui_script"] = "lua", - ["*.render_script"] = "lua", - ["*.editor_script"] = "lua" - } +config = { + ["Lua.runtime.version"] = "Lua 5.1", + ["Lua.workspace.library"] = {".internal"}, + ["Lua.workspace.ignoreDir"] = {".internal"}, + ["Lua.diagnostics.globals"] = { + "on_input", + "on_message", + "init", + "update", + "final", }, + ["files.associations"] = { + ["*.script"] = "lua", + ["*.gui_script"] = "lua", + ["*.render_script"] = "lua", + ["*.editor_script"] = "lua", + } } |