mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 19:33:50 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user