From 54a026525a061ec869f3e18aa7d118165defbcab Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 3 Dec 2017 12:51:10 +0900 Subject: [PATCH] [vim] Remove unnecessary term_wait workaround The issue is fixed in https://github.com/vim/vim/commit/1232624ae5b56c167c5982a2620f736c4bbc19ef --- plugin/fzf.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 0dbfe90..8c3932f 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -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