Add missing condition to determine whether running async.

See #505.
This commit is contained in:
Andy Stewart
2018-04-19 13:03:45 +01:00
parent 5481318fc1
commit ad25925f1e

View File

@@ -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