nvim-treesitter/.luarc.json
2400060033 6c281a1179
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.
2025-11-28 00:30:47 +05:30

26 lines
555 B
JSON

{
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"runtime": {
"version": "LuaJIT"
},
"workspace": {
"library": {
"lua": true,
"$VIMRUNTIME": true,
"${3rd}/luv/library": true,
"${3rd}/busted/library": true
},
"checkThirdParty": false
},
"diagnostics": {
"groupFileStatus": {
"strict": "Opened",
"strong": "Opened"
},
"groupSeverity": {
"strong": "Warning",
"strict": "Warning"
},
"unusedLocalExclude": ["_*"]
}
}