-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git submodules and git project within git projects #5
Comments
also, another newbie question: If I load |
The subrepo case is interesting! Maybe there is something we can do, I'll think a bit more about it.
No, the repo list is built on each call of the extension (doing it in nvim config would slow down each start). We do benefit from the os cache however so subsequent calls to Furthermore, there is #3 to consider using a different cache for when rebuilding everything is too slow, at the expense of a possibly outdated list. |
Cool! It will be exciting to see what ideas you come up with. |
I think I was able to reproduce your problem. In your example, if I assume you have good reasons not to remove |
Thanks! vim.opt.runtimepath:append("~/ghq/github.com/cljoly/telescope-repo.nvim") assuming you have cloned the repo in Don’t hesitate to let me know if you need further help! |
Thanks for your replies! I will try to get things running and get back to you with more thoughts and reflections. |
One thing I realize is that it could be dangerous to ignore the |
Right, I did not think of the The only option left that I can see is to add a folder argument to fd, like so:
where |
Hey I realize also that I could rearrange my stuff so that it works better because it feels like Another thing that I noted now is that my repos that are symlinked into Also, I noticed that the plugin |
I’ve tried to solve this use case in a generic manner :) I’ll thus probably still merge the custom options for
I believe submodules are properly recognized already, at least in the tests I’ve performed locally with the current
From what I could test locally, this should work (from the
This might be related to an unfortunate interaction with some other part of your config. Locally, when I ~> mkdir -p ~/plugins/
~> git init ~/plugins/lazygit.nvim
Initialized empty Git repository in /home/cj/plugins/lazygit.nvim/.git/ this empty lazygit repository is found by telescope-repo.nvim. Finally, if you are not aware already, do you know chezmoi for configuration management? You might find it suitable for your use cases. If not, no worries, one size doesn’t fit all :) |
hmm based on this I have to do more research and find out why mines are't recognized. Cool, I've heard of chez moi. Currently I am using a project called dorothy. But I'll check it out. |
Sure, I would be curious to know why it did not work / if the commands I’ve suggested work. I’ll check dorothy out, thanks for sharing! |
Nice, I don't know if dorothy can be called a dotfiles management system but it is more like |
okay so moving user dots out of dorothy makes it searcheable, BUT lazygit is not found still. These are my telescope configs:
and this shouldn't ignore git but only |
Dude, I tried removing ".git". pattern and now it shows. Is this a bug do you think?? |
I filed a bug report because files containing the sting |
It turns out the corect ignore pattern is |
So the |
Hi there,
I post here just to document that a git repo within a git repo is not found, and also submodules are not found.
Scenario:
I use a bash framework within which I have my own user repo which is ignored in the parent framework repo.
Also within my user repo I have subdirs such as
doom-nvim
. So this would kind of be three levels of git projectsand ideally it'd be nice if each of these showed up in
telescope-repo
. I might take a look at this myselflater also.
The text was updated successfully, but these errors were encountered: