diff --git a/CHANGELOG.md b/CHANGELOG.md index 8afdb667..6d8f9e8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ CHANGELOG ------ - Vim plugin - fzf no longer blocks the editor, so live previews keep working while fzf is open - - `fzf#run` now returns an empty list. Use `sink`, `sinklist`, or `exit` to get the result + - `fzf#run` returns an empty list when it runs fzf asynchronously. Use `sink`, `sinklist`, or `exit` to get the result - The popup layout now works under Zellij - Added `popup` as a synonym of the `tmux` layout key ```vim diff --git a/plugin/fzf.vim b/plugin/fzf.vim index b6ad85ba..59a540ef 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -273,10 +273,11 @@ function! s:tmux_enabled() return 0 endif - " --tmux covers Zellij as well, where neither the fzf-tmux script nor the - " tmux version is relevant + " --tmux covers Zellij as well, where the fzf-tmux script and the tmux + " version are irrelevant, but the binary only learned it in 0.71.0 if exists('$ZELLIJ') - return 1 + return exists('s:exec') + \ && s:compare_versions(s:get_version(s:exec), '0.71.0') >= 0 endif if !exists('$TMUX')