Open andresatierf opened 1 year ago
live_grep
already supports passing a cwd
argument, which should be sufficient to solve your problem
That is a solution to my problem, but I still feel that this could be a useful addition. it's a bit cumbersome to always run the command this way. .editorconfig
files already have a root = true/false
line. that could be used to determine the cwd of the live_grep
or other searchers. if this is not something that the devs consider to have some value, then feel free to close this issue
Totally agree, is there documentation how the cwd
is determined by default?
telescope is using neovim's LibUV lua binding vim.loop.cwd()
to get the default cwd for pickers.
Is your feature request related to a problem? Please describe. I work with a monorepo and when inside a sub-project, I can't search for/in files in other projects in the monorepo.
Describe the solution you'd like I would like for telescope to work across the projects inside the monorepo. Maybe recursively find parent folders with
.git
folder or a.editorconfig
withroot = true
Describe alternatives you've considered
Additional context