consult-ripgrep with git submodules #1097
nicolas-graves
started this conversation in
Ideas
Replies: 1 comment 7 replies
-
Right now Consult can only query for the current project directory and doesn't have any other further more fine-grained project information. Therefore this seems mostly out of scope for Consult. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @minad ,
I have a project where I use git submodules. When I consult-ripgrep in a submodule, I expect to ripgrep in this git submodule rather than in the whole project. There seems to be a variable to govern that in
project.el
:project-vc-merge-submodules
. It would be nice if someconsult
commands could honor that variable by executing in the subproject rather than in the project as a whole.This way we could properly separate project and subprojects : with a
.rgignore
that ignores submodules, I would be able to ripgrep only where I want both in the project and in each subproject.WDYT?
Beta Was this translation helpful? Give feedback.
All reactions