Skip to content

Commit 0722f74

Browse files
committed
Fix jump to top of file on :AbortDispatch
Closes #279
1 parent fd4410f commit 0722f74

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
@@ -1201,7 +1201,7 @@ function! dispatch#abort_command(bang, query, ...) abort
12011201
return 'echoerr '.string('No pid file')
12021202
endif
12031203
if exists('*dispatch#'.get(request, 'handler').'#kill')
1204-
return dispatch#{request.handler}#kill(pid, a:bang)
1204+
call dispatch#{request.handler}#kill(pid, a:bang)
12051205
elseif has('win32')
12061206
call system('taskkill /PID ' . (a:bang ? '/F ' : '') . pid)
12071207
else

0 commit comments

Comments
 (0)