From dcce7adf149dd7e1def8a503857ac8c10b8af809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 15 Oct 2021 14:29:35 +0800 Subject: push setting into `.luarc.json` --- .luarc.json | 27 +++++++++++++++++++++++++++ .vscode/settings.json | 27 --------------------------- 2 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 .luarc.json diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 00000000..453a7d17 --- /dev/null +++ b/.luarc.json @@ -0,0 +1,27 @@ +{ + "Lua.diagnostics.disable": [ + "close-non-object" + ], + "Lua.runtime.version": "Lua 5.4", + "Lua.workspace.maxPreload": 1600, + "Lua.workspace.preloadFileSize": 1000, + "Lua.diagnostics.neededFileStatus": { + "undefined-field": "Any" + }, + "Lua.workspace.ignoreDir": [ + "locale/", + "libs/", + "3rd", + ".vscode", + "meta" + ], + "Lua.workspace.library": [ + "script/meta", + "bin" + ], + "Lua.runtime.path": [ + "?.lua", + "script/?.lua", + "script/?/init.lua" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 45d0f816..f8ca82c5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,32 +1,5 @@ // Just some comment { - "Lua.diagnostics.disable": [ - "close-non-object", - ], - "Lua.runtime.version": "Lua 5.4", - // Just some comment - "Lua.workspace.maxPreload": 1600, - "Lua.workspace.preloadFileSize": 1000, - "Lua.diagnostics.neededFileStatus": { - "undefined-field": "Any" - }, - "Lua.workspace.ignoreDir": [ - "locale/", - "libs/", - "3rd", - ".vscode", - "meta", - ], - "Lua.workspace.library": [ - // Just some comment - "script/meta", - "bin", - ], - "Lua.runtime.path": [ - "?.lua", - "script/?.lua", - "script/?/init.lua" - ], "Lua.misc.parameters": [ "--develop=true", "--dbgport=11413", -- cgit v1.2.3