Check for correct async condition

fixes #1308
This commit is contained in:
Christian Brabandt 2016-11-02 16:43:47 +01:00
parent 0ea4daa103
commit 516870bf9f
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ endfunction
function! s:get_hg_branch()
if s:has_lawrencium
let stl=lawrencium#statusline()
if !empty(stl) && has('job')
if !empty(stl) && s:has_async
call s:get_mq_async('hg qtop', expand('%:p'))
endif
if exists("s:mq") && !empty(s:mq)