Closed snprajwal closed 2 years ago
What is your g:rooter_patterns
?
@airblade g:rooter_patterns = ['.git', '_darcs', '.hg', '.bzr', '.svn', 'Makefile', 'package.json']
Is there a way to set a priority for these patterns? I've noticed that the Makefile in the nested dirs is overriding the .git folder in the root dir, that's probably what's causing it to not set the correct cwd
Just set the variable in your vimrc, e.g. let g:rooter_patterns = ['.git']
.
Rooter fails to set cwd as the root dir for both these repositories:
I am unsure why this is happening, since these are perfectly ordinary git repos, and rooter works for all the other git repos I work with