Skip to content

Commit

Permalink
Make :bwipeout silent with &report < 2 (neomake#1877)
Browse files Browse the repository at this point in the history
We might want to skip this altogether, but for now it should be silent
already.

Fixes neomake#1876
  • Loading branch information
blueyed authored Feb 27, 2018
1 parent ffb2f9a commit a529357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/neomake.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ function! s:AddExprCallback(jobinfo, prev_list) abort

if !empty(wipe_unlisted_buffers)
call neomake#utils#DebugMessage(printf('Wiping out %d unlisted/remapped buffers.', len(wipe_unlisted_buffers)))
exe 'bwipeout '.join(keys(wipe_unlisted_buffers))
exe (&report < 2 ? 'silent ' : '').'bwipeout '.join(keys(wipe_unlisted_buffers))
endif

return s:ProcessEntries(a:jobinfo, entries, a:prev_list)
Expand Down

0 comments on commit a529357

Please sign in to comment.