mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -04:00
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.
26 lines
555 B
JSON
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": ["_*"]
|
|
}
|
|
}
|