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