mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 22:33:51 -05:00
Don't run autocommands loading temp file
This should bring about a small performance improvement as prevent some confusion in other plugins.
This commit is contained in:
@@ -2563,7 +2563,7 @@ function! s:ReplaceCmd(cmd,...) abort
|
||||
endtry
|
||||
silent exe 'keepalt file '.tmp
|
||||
try
|
||||
silent edit!
|
||||
silent noautocmd edit!
|
||||
finally
|
||||
try
|
||||
silent exe 'keepalt file '.s:fnameescape(fn)
|
||||
|
||||
Reference in New Issue
Block a user