m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 07:13:48 -05:00

[vim] Allow closing Vim running fzf without confirmation

Close #2287
This commit is contained in:
Junegunn Choi
2020-12-16 21:44:28 +09:00
parent 00f4551a7b
commit ab3937ee5a

View File

@@ -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