Skip to content

Commit 944d96b

Browse files
committed
Added preview-window flag to GoDecls fzf for text wrapping
1 parent d317e93 commit 944d96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/fzf/decls.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function! fzf#decls#cmd(...) abort
143143
\)
144144
call fzf#run(fzf#wrap('GoDecls', {
145145
\ 'source': call('<sid>source', a:000),
146-
\ 'options': printf('-n 1 --with-nth 1,2 --delimiter=$''\t'' --preview "echo {3}" --ansi --prompt "GoDecls> " --expect=ctrl-t,ctrl-v,ctrl-x%s', colors),
146+
\ 'options': printf('-n 1 --with-nth 1,2 --delimiter=$''\t'' --preview "echo {3}" --preview-window "wrap" --ansi --prompt "GoDecls> " --expect=ctrl-t,ctrl-v,ctrl-x%s', colors),
147147
\ 'sink*': function('s:sink')
148148
\ }))
149149
endfunction

0 commit comments

Comments
 (0)