Skip to content

Commit

Permalink
open quickfix after every job finished
Browse files Browse the repository at this point in the history
  • Loading branch information
tracyone committed Jan 24, 2018
1 parent 697f28e commit dbcf01f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions autoload/neomakemp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ function! neomakemp#on_neomake_finished() abort
execute 'echohl WarningMsg' | echom l:needle.name.' [ return '.g:neomake_hook_context.jobinfo.exit_code.' ]' | echohl None
"echom 'remove '.g:neomakemp_job_list[l:i].jobid
call remove(g:neomakemp_job_list, l:i)
if g:neomake_hook_context.jobinfo.exit_code != 0
\ || l:needle.flags == 1
:copen
endif
break
endif
let l:i += 1
Expand All @@ -177,10 +181,6 @@ function! neomakemp#on_neomake_finished() abort
let g:asyncrun_status='Running:'.len(g:neomakemp_job_list)
else
let g:asyncrun_status='All Done'
if g:neomake_hook_context.jobinfo.exit_code != 0
\ || l:needle.flags == 1
:copen
endif
if has('timers')
call timer_start(8000,'neomakemp#update_run_status')
endif
Expand Down

0 comments on commit dbcf01f

Please sign in to comment.