[vim] Allow closing Vim running fzf without confirmation

Close #2287
pull/2291/head
Junegunn Choi 3 years ago
parent 00f4551a7b
commit ab3937ee5a
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -831,7 +831,7 @@ function! s:execute_term(dict, command, temps) abort
if has('nvim')
call termopen(command, fzf)
else
let term_opts = {'exit_cb': function(fzf.on_exit)}
let term_opts = {'exit_cb': function(fzf.on_exit), 'term_kill': 'term'}
if is_popup
let term_opts.hidden = 1
else

Loading…
Cancel
Save