Skip to content

Commit 1beee74

Browse files
committed
Revert "Add Vim 8 job handler"
This reverts commit e441765, which was accidentally pushed to the wrong branch.
1 parent e441765 commit 1beee74

File tree

3 files changed

+0
-89
lines changed

3 files changed

+0
-89
lines changed

autoload/dispatch.vim

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -623,10 +623,6 @@ function! dispatch#compile_command(bang, args, count) abort
623623

624624
if s:dispatch(request)
625625
call s:cgetfile(request)
626-
if request.handler ==# 'job'
627-
botright copen
628-
wincmd p
629-
endif
630626
else
631627
let request.handler = 'sync'
632628
let after = 'call DispatchComplete('.request.id.')'
@@ -862,9 +858,6 @@ endfunction
862858

863859
function! s:cgetfile(request, ...) abort
864860
let request = s:request(a:request)
865-
if !has_key(request, 'handler')
866-
throw 'Bad request ' . string(request)
867-
endif
868861
let efm = &l:efm
869862
let makeprg = &l:makeprg
870863
let compiler = get(b:, 'current_compiler', '')

autoload/dispatch/job.vim

Lines changed: 0 additions & 81 deletions
This file was deleted.

plugin/dispatch.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ endfunction
3333

3434
if !exists('g:dispatch_handlers')
3535
let g:dispatch_handlers = [
36-
\ 'job',
3736
\ 'tmux',
3837
\ 'screen',
3938
\ 'windows',

0 commit comments

Comments
 (0)