mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-24 21:57:36 +00:00
parent
489b16efce
commit
cbfbb49ab4
@ -842,7 +842,10 @@ function! s:execute_term(dict, command, temps) abort
|
|||||||
if has('nvim')
|
if has('nvim')
|
||||||
call termopen(command, fzf)
|
call termopen(command, fzf)
|
||||||
else
|
else
|
||||||
let term_opts = {'exit_cb': function(fzf.on_exit), 'term_kill': 'term'}
|
let term_opts = {'exit_cb': function(fzf.on_exit)}
|
||||||
|
if v:version >= 802
|
||||||
|
let term_opts.term_kill = 'term'
|
||||||
|
endif
|
||||||
if is_popup
|
if is_popup
|
||||||
let term_opts.hidden = 1
|
let term_opts.hidden = 1
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user