From 6b5fd16a2f6664deaff23c5a78b4c1921adbecfc Mon Sep 17 00:00:00 2001 From: dutchie031 Date: Thu, 10 Sep 2026 19:56:06 +0200 Subject: [PATCH] updated luarc.json --- .gitea/workflows/pr.yml | 7 +++++++ .luarc.json | 6 +----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index 5676b8d..da5e2ae 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -72,6 +72,13 @@ jobs: - name: Verify Lua Language Server Installation run: ./luals/bin/lua-language-server --version + - name: Update Json With Full Path + run: | + FULL_PATH=$(realpath ./.vscode/lua-addons) + echo "full-path: $FULL_PATH" + + jq --arg full_path "$FULL_PATH" '.Lua.workspace.library[0] = $full_path' ./.luarc.json > ./.luarc.json.tmp && mv ./.luarc.json.tmp ./.luarc.json + - name: Show Config run: cat ./.luarc.json diff --git a/.luarc.json b/.luarc.json index 3c27934..033a68b 100644 --- a/.luarc.json +++ b/.luarc.json @@ -4,10 +4,7 @@ "version": "Lua 5.1" }, "workspace": { - "checkThirdParty": false, - "library": [ - ".vscode/lua-addons" - ] + "checkThirdParty": false }, "diagnostics": { "enable": true, @@ -18,7 +15,6 @@ "undefined-field": "Warning", "unused-local": "Warning", "unused-function": "Warning" - }, "groupFileStatus": { "ambiguity": "Any",