Activate in netrw directories

This commit is contained in:
Tim Pope 2009-10-15 00:02:14 -04:00
parent b65030cd3b
commit 4c1562c15b

View File

@ -107,6 +107,7 @@ endfunction
augroup fugitive augroup fugitive
autocmd! autocmd!
autocmd BufNewFile,BufReadPost * call s:Detect() autocmd BufNewFile,BufReadPost * call s:Detect()
autocmd FileType netrw call s:Detect()
autocmd BufWinLeave * execute getbufvar(+expand('<abuf>'), 'fugitive_restore') autocmd BufWinLeave * execute getbufvar(+expand('<abuf>'), 'fugitive_restore')
augroup END augroup END