Skip to content

Commit bafee5f

Browse files
committed
Don't include press enter prompt in make dispatches
1 parent f402098 commit bafee5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/dispatch.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function! dispatch#prepare_start(request, ...) abort
206206
let exec .= 'sleep 1; '
207207
endif
208208
let exec .= a:0 ? a:1 : a:request.expanded
209-
let wait = a:0 > 1 ? a:1 : get(a:request, 'wait', 'error')
209+
let wait = a:0 > 1 ? a:2 : get(a:request, 'wait', 'error')
210210
let pause = "(printf '\e[1m--- Press ENTER to continue ---\e[0m\\n'; exec head -1)"
211211
if wait ==# 'always'
212212
let exec .= '; ' . pause

0 commit comments

Comments
 (0)