[vim] Remove unnecessary term_wait workaround

The issue is fixed in 1232624ae5
This commit is contained in:
Junegunn Choi 2017-12-03 12:51:10 +09:00
parent d6588fc835
commit 54a026525a
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -700,8 +700,7 @@ function! s:execute_term(dict, command, temps) abort
call termopen(command, fzf)
else
let t = term_start([&shell, &shellcmdflag, command], {'curwin': fzf.buf, 'exit_cb': function(fzf.on_exit)})
" FIXME: https://github.com/vim/vim/issues/1998
if !has('nvim') && !s:is_win
if !has('patch-8.0.1261') && !has('nvim') && !s:is_win
call term_wait(t, 20)
endif
endif