Open
Description
How are you using the lua-language-server?
NeoVim
Which OS are you using?
MacOS
What is the issue affecting?
Diagnostics/Syntax Checking
Expected Behaviour
When I set workspace.ignoreDir
in .luarc.json
it should exclude these folders from check when calling:
lua-language-server --check="some/path" --configpath="some/path/.luarc.json"
Actual Behaviour
The tool still prints errors in 3rd party dir.
Reproduction steps
- Create
.luarc.json
and put:
{
"workspace.library": ["${3rd}/luassert/library"],
"workspace.ignoreDir": ["${3rd}/luassert/library"],
"diagnostics.globals": ["vim", "require", "describe", "it", "P"],
"diagnostics.disable": ["different-requires"]
}
- Run:
lua-language-server --check="${DIR_SRC}" --configpath="${PWD}/.luarc.json" --checklevel=Information --logpath="${DIR_OUT}" --loglevel=error
Additional Notes
No response
Log File
No response
Metadata
Metadata
Assignees
Labels
No labels