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.
This commit is contained in:
2400060033 2025-11-28 00:30:47 +05:30 committed by GitHub
parent 42fc28ba91
commit 6c281a1179
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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": ["_*"]
}
}