diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index c7b64dd..e17fe74 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1,6 +1,6 @@ " fugitive.vim - A Git wrapper so awesome, it should be illegal " Maintainer: Tim Pope -" Version: 1.2 +" Version: 2.0 " GetLatestVimScripts: 2975 1 :AutoInstall: fugitive.vim if exists('g:loaded_fugitive') || &cp @@ -2242,10 +2242,10 @@ endif augroup fugitive_temp autocmd! autocmd BufNewFile,BufReadPost * - \ if has_key(s:temp_files,expand(':p')) | - \ let b:git_dir = s:temp_files[expand(':p')] | + \ if has_key(s:temp_files,expand(':p')) | + \ let b:git_dir = s:temp_files[expand(':p')] | \ let b:git_type = 'temp' | - \ call s:Detect(expand(':p')) | + \ call s:Detect(expand(':p')) | \ setlocal bufhidden=delete | \ nnoremap q :bdelete| \ endif