summaryrefslogtreecommitdiff
path: root/meta/3rd/Defold
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Defold')
-rw-r--r--meta/3rd/Defold/config.lua52
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",
+ }
}