Use --gap option for rendering g:fzf_vim.grep_multi_line = 2+

Requires fzf 0.56.0

https://github.com/junegunn/fzf/releases/tag/v0.56.0
This commit is contained in:
Junegunn Choi
2024-10-29 14:09:00 +09:00
parent ec75ffbfd5
commit 556f45e79a
3 changed files with 23 additions and 8 deletions

View File

@@ -180,7 +180,7 @@ let g:fzf_vim.preview_window = []
let g:fzf_vim.buffers_jump = 1
" [Ag|Rg|RG] Display path on a separate line for narrow screens (default: 0)
" * Requires Perl and fzf 0.53.0 or later
" * Requires Perl and fzf 0.56.0 or later
let g:fzf_vim.grep_multi_line = 0
" PATH:LINE:COL:LINE
let g:fzf_vim.grep_multi_line = 1
@@ -189,7 +189,7 @@ let g:fzf_vim.grep_multi_line = 1
let g:fzf_vim.grep_multi_line = 2
" PATH:LINE:COL:
" LINE
" (empty line)
" (empty line between items using --gap option)
" [[B]Commits] Customize the options used by 'git log':
let g:fzf_vim.commits_log_options = '--graph --color=always --format="%C(auto)%h%d %s %C(black)%C(bold)%cr"'