mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 05:20:00 -04:00
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:
parent
42fc28ba91
commit
6c281a1179
1 changed files with 7 additions and 7 deletions
14
.luarc.json
14
.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": ["_*"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue