diff options
Diffstat (limited to 'meta/3rd/Defold/config.lua')
-rw-r--r-- | meta/3rd/Defold/config.lua | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/3rd/Defold/config.lua b/meta/3rd/Defold/config.lua new file mode 100644 index 00000000..f4dad34e --- /dev/null +++ b/meta/3rd/Defold/config.lua @@ -0,0 +1,40 @@ +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" + } + }, +} |