(#33 may be relevant??)
With all plugins installed, this works:
{
"workspace": {
"library": [
"/opt/homebrew/Cellar/neovim/0.11.4/share/nvim/runtime/lua", // or $VIMRUNTIME or whatever
"/Users/petersheehan/.config/peter.nvim/lua",
"/Users/petersheehan/.local/share/peter.nvim/lazy/*/lua", // THIS IS WRONG. YOU MUST LIST DIRECTORIES EXPLICITLY!!!
"${3rd}/luv/library"
],
"ignoreDir": ["/lua"], // I think this can be removed?
"checkThirdParty": false
},
"runtime": {
"version": "LuaJIT",
"path": ["?.lua", "?/init.lua"],
"pathStrict": true
},
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/refs/heads/master/setting/schema.json"
}
(#33 may be relevant??)
With all plugins installed, this works:
{ "workspace": { "library": [ "/opt/homebrew/Cellar/neovim/0.11.4/share/nvim/runtime/lua", // or $VIMRUNTIME or whatever "/Users/petersheehan/.config/peter.nvim/lua", "/Users/petersheehan/.local/share/peter.nvim/lazy/*/lua", // THIS IS WRONG. YOU MUST LIST DIRECTORIES EXPLICITLY!!! "${3rd}/luv/library" ], "ignoreDir": ["/lua"], // I think this can be removed? "checkThirdParty": false }, "runtime": { "version": "LuaJIT", "path": ["?.lua", "?/init.lua"], "pathStrict": true }, "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/refs/heads/master/setting/schema.json" }