diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index c2aaf2a..53eb44c 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -80,7 +80,7 @@ call gitgutter#highlight#define_signs() " - executing a job in the foreground launches a new window which takes the focus; " - when the job finishes, focus returns to gvim; " - the FocusGained event triggers a new job (see below). -if gitgutter#utility#windows() && !gitgutter#async#available() +if gitgutter#utility#windows() && !(g:gitgutter_async && gitgutter#async#available()) set noshelltemp endif