diff options
author | Salavat <salavat.rakhmanov@gmail.com> | 2022-11-11 18:35:20 +0600 |
---|---|---|
committer | Salavat <salavat.rakhmanov@gmail.com> | 2022-11-11 18:35:20 +0600 |
commit | 7a973c14fa68a322078f6dfbe27e7fdd5a9b72e5 (patch) | |
tree | 9993d6fd4daa8c5ef7462e7362fc9016ef4afb93 /meta/3rd | |
parent | bbb6cccc39494eb2f3c67e452c45814cdae4cb8e (diff) | |
download | lua-language-server-7a973c14fa68a322078f6dfbe27e7fdd5a9b72e5.zip |
defold associations
Diffstat (limited to 'meta/3rd')
-rw-r--r-- | meta/3rd/Defold/config.lua | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/meta/3rd/Defold/config.lua b/meta/3rd/Defold/config.lua index 219936d6..a302223f 100644 --- a/meta/3rd/Defold/config.lua +++ b/meta/3rd/Defold/config.lua @@ -6,4 +6,66 @@ configs = { 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 = { + ["*.project"] = "ini", + ["*.script"] = "lua", + ["*.gui_script"] = "lua", + ["*.render_script"] = "lua", + ["*.editor_script"] = "lua", + ["*.fp"] = "glsl", + ["*.vp"] = "glsl", + ["*.go"] = "textproto", + ["*.animationset"] = "textproto", + ["*.atlas"] = "textproto", + ["*.buffer"] = "json", + ["*.camera"] = "textproto", + ["*.collection"] = "textproto", + ["*.collectionfactory"] = "textproto", + ["*.collectionproxy"] = "textproto", + ["*.collisionobject"] = "textproto", + ["*.display_profiles"] = "textproto", + ["*.factory"] = "textproto", + ["*.gamepads"] = "textproto", + ["*.gui"] = "textproto", + ["*.input_binding"] = "textproto", + ["*.label"] = "textproto", + ["*.material"] = "textproto", + ["*.mesh"] = "textproto", + ["*.model"] = "textproto", + ["*.particlefx"] = "textproto", + ["*.render"] = "textproto", + ["*.sound"] = "textproto", + ["*.spinemodel"] = "textproto", + ["*.spinescene"] = "textproto", + ["*.sprite"] = "textproto", + ["*.texture_profiles"] = "textproto", + ["*.tilemap"] = "textproto", + ["*.tilesource"] = "textproto", + ["*.manifest"] = "textproto" + } + }, } |