-
Notifications
You must be signed in to change notification settings - Fork 72
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
rooter_patterns child directories not working as expected #138
Comments
What do you mean by not working properly? Please provide repro steps. |
Configure vim as follows: let g:rooter_patterns = ['>/Users/chucky/projects' ] Setup a few projects.
open vim and edit project1/test.txt. Type ":pwd". Plugin doesn't switch to /Users/chucky/projects/project1/, as expected. NVIM v0.9.0 |
@airblade let me know if my understanding is correct. Also, it would be great to refresh NerdTree when switching projects, as I've missed the console a few times and been confused. (I can include that too). |
Thank you for the example – it's much easier to debug something concrete. And your understanding of the pattern
It does for me. I wonder what differs between your setup and mine? You mentioned NerdTree; if you uninstall that, does your example start behaving as expected? |
Even after uninstall of Nerdtree, the issue is there. Switching back to my branch does resolve it. |
In g_rooters, I notice that
'>/Users/charlie/dev/'
Where I'd like to match the folder /Users/charlie/dev/project1, /Users/charlie/dev/project2 etc.
Does not work properly.
Looks like an easy fix, and will provide a PR - assuming I'm understanding the configuration properly.
Is anyone else seeing this?
The text was updated successfully, but these errors were encountered: