Address copilot comments

This commit is contained in:
Junegunn Choi committed 2026-08-23 21:49:52 +09:00
1 parent 5e73c2ddd3
commit 3900dd17e4
2 files changed
+5 -4

No files matched your search

+4 -3
View File
@@ -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')