mirror of
https://github.com/junegunn/fzf
synced 2026-08-26 14:03:36 +01:00
Address copilot comments
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+4
-3
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user