-
-
Notifications
You must be signed in to change notification settings - Fork 391
Open
Description
How are you using the lua-language-server?
NeoVim
Which OS are you using?
MacOS
What is the issue affecting?
Other
Expected Behaviour
I think it would make sense to also honor the workspace.ignoreDir setting when including libraries via workspace.library.
My use case is probably rather niche but it pretty much breaks the indexing:
I have a local library that I want to include via workspace.library, at the root of the library is a directory .direnv which includes symlinks to nix derivations (which intern include more than 100000 lua files)
So I would expect a configuration like
"workspace": {
"ignoreDir": [".direnv"],
"library": "path-to-lib"
}to not index files inside <path-to-lib>/.direnv
Actual Behaviour
Every file inside the library path is indexed
Reproduction steps
Follow example from above
Additional Notes
No response
Log File
No response
emiflake and PeterCardenas
Metadata
Metadata
Assignees
Labels
No labels