Use `exclude_dirs` to exclude directories from root directories instead not launching the calculation
Hello,
In my opinion, the check is_excluded for directories in exclude_dirs config option would make more sense if it was done before the set_pwd function below. In my case, the lsp returns unwanted roots that I wanted to exclude but the exclude_dirs does not permit it.
https://github.com/ahmedkhalf/project.nvim/blob/71d0e23dcfc43cfd6bb2a97dc5a7de1ab47a6538/lua/project_nvim/project.lua#L240
What do you think?
I may have a similar problem. I work in a project folder and open a note from ~/notes folder (with special telescope function). The working directory is changed even though in my config I have:
exclude_dirs = { "~/notes/*" },
I may have a similar problem. I work in a project folder and open a note from
~/notesfolder (with special telescope function). The working directory is changed even though in my config I have:exclude_dirs = { "~/notes/*" },
I am having the exact same issue 😞