mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 21:03:53 -05:00
Previously s:Detect() wasnt getting called for nerdtree buffers. I have added two autocmd events to nerdtree - NERDTreeInit and NERDTreeNewRoot. These are called when a tree is created, and when the user changes the root. Catch these events and call s:Detect() with the tree root path.