diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 151ddf9..7d0836e 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -616,9 +616,8 @@ let g:io_fugitive = { augroup fugitive autocmd! - autocmd BufNewFile,BufReadPost * - \ call FugitiveDetect(+expand(''), 0) - autocmd FileType netrw call FugitiveDetect(get(b:, 'netrw_curdir', +expand('')), 1) + autocmd BufNewFile,BufReadPost * call FugitiveDetect(+expand(''), 0) + autocmd FileType netrw call FugitiveDetect(+expand(''), 0) autocmd FileType git \ call fugitive#MapCfile()