Add new command to open NERDTree in the root of a VCS repository. (#872)

* Add new command to open NERDTree in the root of a VCS repository.

* Add another example to the help file.

* Refactor and make NERDTreeVCS work on Windows.

* Don't crash when NERDTreeVCS is given a nonexistent folder.

* Move VCS code to a plugin script.

* Add some documentation to the top of vcs.vim.
This commit is contained in:
Phil Runninger
2018-12-12 13:30:13 -05:00
committed by GitHub
parent a4dd4e1dce
commit 72c3656799
3 changed files with 47 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ function! s:Creator._broadcastInitEvent()
silent doautocmd User NERDTreeInit
endfunction
" FUNCTION: s:Creator.BufNamePrefix() {{{2
" FUNCTION: s:Creator.BufNamePrefix() {{{1
function! s:Creator.BufNamePrefix()
return 'NERD_tree_'
endfunction