mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-10 07:40:55 +00:00
commit
d91c3a2f5e
@ -140,10 +140,10 @@ try
|
||||
else
|
||||
let prefix = ''
|
||||
endif
|
||||
let tmux = !has('nvim') && s:tmux_enabled() && s:splittable(dict)
|
||||
let tmux = (!has('nvim') || get(g:, 'fzf_prefer_tmux', 0)) && s:tmux_enabled() && s:splittable(dict)
|
||||
let command = prefix.(tmux ? s:fzf_tmux(dict) : fzf_exec).' '.optstr.' > '.temps.result
|
||||
|
||||
if has('nvim')
|
||||
if has('nvim') && !tmux
|
||||
return s:execute_term(dict, command, temps)
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user