Closed fcying closed 6 years ago
I'm a little curious which scm do you use? 😄
I have some big git directories, if gentag directly, it will takes a lot of time and gen a lot of unused content, so I mk a dir .root
for some alone project in it.
@fcying
Sorry, I think it's a little over to add a new option for this requirement.
You can just add a directory named as .git
to achieve your requirement.
Because the compile script will search the scm directory, if use the existing one, I need to add .svn
in the git directory, add .git
in the svn directory... it is easy to get confused, so I added a custom directory.
I understand your concern. Maybe we should just make it as standard behavior but not add a new option.
I prefer to just extend the l:scm
.
- let l:scm_list = ['.git', '.hg', '.svn']
+ let l:scm_list = ['.root', '.git', '.hg', '.svn']
I added an option just for not modify the original scm_list, then I can add .root
in my vimrc.
I modify it in l:scm_list
now.
Merged. Thanks for the PR~
the default scm_list is not enough