Skip to content

Commit 319a8b2

Browse files
committed
Use DispatchComplete() when argument is an id
I'm considering making dispatch#request() accept a pid, and this provides a clean way to differentiate.
1 parent 2ede832 commit 319a8b2

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
@@ -620,7 +620,7 @@ function! dispatch#compile_command(bang, args, count) abort
620620

621621
if !s:dispatch(request)
622622
let request.handler = 'sync'
623-
let after = 'call dispatch#complete('.request.id.')'
623+
let after = 'call DispatchComplete('.request.id.')'
624624
redraw!
625625
let sp = dispatch#shellpipe(request.file)
626626
let dest = request.file . '.complete'

0 commit comments

Comments
 (0)