Address copilot comments

This commit is contained in:
Junegunn Choi
2026-08-23 21:49:52 +09:00
parent 5e73c2ddd3
commit 3900dd17e4
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ CHANGELOG
------ ------
- Vim plugin - Vim plugin
- fzf no longer blocks the editor, so live previews keep working while fzf is open - 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 - The popup layout now works under Zellij
- Added `popup` as a synonym of the `tmux` layout key - Added `popup` as a synonym of the `tmux` layout key
```vim ```vim
+4 -3
View File
@@ -273,10 +273,11 @@ function! s:tmux_enabled()
return 0 return 0
endif endif
" --tmux covers Zellij as well, where neither the fzf-tmux script nor the " --tmux covers Zellij as well, where the fzf-tmux script and the tmux
" tmux version is relevant " version are irrelevant, but the binary only learned it in 0.71.0
if exists('$ZELLIJ') if exists('$ZELLIJ')
return 1 return exists('s:exec')
\ && s:compare_versions(s:get_version(s:exec), '0.71.0') >= 0
endif endif
if !exists('$TMUX') if !exists('$TMUX')