@@ -1207,7 +1207,7 @@ function! dispatch#complete(file, ...) abort
12071207 silent doautocmd ShellCmdPost
12081208 endif
12091209 if ! request.background && ! get (request, ' aborted' )
1210- call s: cwindow (request, 0 , status, ' ' )
1210+ call s: cwindow (request, 0 , status, ' ' , ' make ' )
12111211 redraw !
12121212 endif
12131213 echo label ' !' .request.expanded s: postfix (request)
@@ -1260,7 +1260,7 @@ function! dispatch#copen(bang, mods, ...) abort
12601260 if ! dispatch#completed (request) && filereadable (request.file . ' .complete' )
12611261 let request.completed = 1
12621262 endif
1263- call s: cwindow (request, a: bang , -2 , a: mods == # ' <mods>' ? ' ' : a: mods )
1263+ call s: cwindow (request, a: bang , -2 , a: mods == # ' <mods>' ? ' ' : a: mods, ' cgetfile ' )
12641264endfunction
12651265
12661266function ! s: is_quickfix (... ) abort
@@ -1314,8 +1314,8 @@ function! s:cgetfile(request, event, ...) abort
13141314 endtry
13151315endfunction
13161316
1317- function ! s: cwindow (request, all , copen , mods) abort
1318- call s: cgetfile (a: request , ' cgetfile ' , a: all )
1317+ function ! s: cwindow (request, all , copen , mods, event ) abort
1318+ call s: cgetfile (a: request , a: event , a: all )
13191319 let height = get (g: , ' dispatch_quickfix_height' , 10 )
13201320 if height <= 0
13211321 return
0 commit comments