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

@@ -1,4 +1,4 @@
fzf-vim.txt fzf-vim Last change: April 25 2024
fzf-vim.txt fzf-vim Last change: October 29 2024
FZF-VIM - TABLE OF CONTENTS *fzf-vim* *fzf-vim-toc*
==============================================================================
@@ -231,6 +231,18 @@ Command-level options~
" [Buffers] Jump to the existing window if possible
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.56.0 or later
let g:fzf_vim.grep_multi_line = 0
" PATH:LINE:COL:LINE
let g:fzf_vim.grep_multi_line = 1
" PATH:LINE:COL:
" LINE
let g:fzf_vim.grep_multi_line = 2
" PATH:LINE:COL:
" 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"'