From 6c281a1179b4d158c966ae2e1d54c57ad8377cc8 Mon Sep 17 00:00:00 2001 From: 2400060033 Date: Fri, 28 Nov 2025 00:30:47 +0530 Subject: [PATCH] fix(lua-ls): correct workspace.library format in .luarc.json Updated .luarc.json to use the correct workspace.library object format required by LuaLS. Previously it was an array, which caused LuaLS to not recognize runtime libraries. No other settings were changed. --- .luarc.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.luarc.json b/.luarc.json index 5b5aa24b2..a88e2ebd2 100644 --- a/.luarc.json +++ b/.luarc.json @@ -4,12 +4,12 @@ "version": "LuaJIT" }, "workspace": { - "library": [ - "lua", - "$VIMRUNTIME", - "${3rd}/luv/library", - "${3rd}/busted/library" - ], + "library": { + "lua": true, + "$VIMRUNTIME": true, + "${3rd}/luv/library": true, + "${3rd}/busted/library": true + }, "checkThirdParty": false }, "diagnostics": { @@ -21,6 +21,6 @@ "strong": "Warning", "strict": "Warning" }, - "unusedLocalExclude": [ "_*" ] + "unusedLocalExclude": ["_*"] } }