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:
parent
2a4714335f
commit
33b7c1a5b7
@ -2563,7 +2563,7 @@ function! s:ReplaceCmd(cmd,...) abort
|
|||||||
endtry
|
endtry
|
||||||
silent exe 'keepalt file '.tmp
|
silent exe 'keepalt file '.tmp
|
||||||
try
|
try
|
||||||
silent edit!
|
silent noautocmd edit!
|
||||||
finally
|
finally
|
||||||
try
|
try
|
||||||
silent exe 'keepalt file '.s:fnameescape(fn)
|
silent exe 'keepalt file '.s:fnameescape(fn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user