diff --git a/libraries/AP_Scripting/tests/check.json b/libraries/AP_Scripting/tests/check.json index a5091bc598..899d55a5a5 100644 --- a/libraries/AP_Scripting/tests/check.json +++ b/libraries/AP_Scripting/tests/check.json @@ -1,4 +1,5 @@ { // lua-language-server config for checking + "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", "runtime.version": "Lua 5.3", "runtime.builtin": { // Not all of the standard functionality is available @@ -10,6 +11,10 @@ "table.clear": "disable", "table.new": "disable" }, - // These lua scripts are not for running on AP - "workspace.ignoreDir": ["Tools/CHDK-Scripts/*", "modules/*", "libraries/AP_Scripting/tests/luacheck.lua" ], + "workspace": { + // These lua scripts are not for running on AP + "ignoreDir": ["Tools/CHDK-Scripts/*", "modules/*", "libraries/AP_Scripting/tests/luacheck.lua", "lua-language-server/*"], + // Dont use gitignore, it results in skipping checks for in progress scripts running in SITL + "useGitIgnore": false + } }