summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-12-16 21:44:28 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-12-16 21:44:28 +0900
commitab3937ee5a62d63bac9307bfe72601eeb4fc9cd2 (patch)
treedde6ba54121fffcbdecb099b161f25ce04139b1e
parent00f4551a7b9edda202f15f43e694f949f04927de (diff)
[vim] Allow closing Vim running fzf without confirmation
Close #2287
-rw-r--r--plugin/fzf.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 47051157..9ce9ab41 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -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