From ea89d6ec120c7239d34780f96881beaacc3dd598 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 3 Aug 2010 15:22:05 -0400 Subject: [PATCH] FileType does not have as path --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 711a266..9ab0f1b 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -145,7 +145,7 @@ endfunction augroup fugitive autocmd! autocmd BufNewFile,BufReadPost * call s:Detect(expand(':p')) - autocmd FileType netrw call s:Detect(expand(':p')) + autocmd FileType netrw call s:Detect(expand(':p')) autocmd VimEnter * if expand('')==''|call s:Detect(getcwd())|endif autocmd BufWinLeave * execute getwinvar(+winnr(), 'fugitive_restore') augroup END