Fix setup for Rg

This commit is contained in:
Alexey Boklin 2020-05-14 01:48:03 +02:00 committed by GitHub
parent 8b94b4f307
commit 0bbcfe4e0c
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ command! -bang -nargs=* Rg
\ 'rg --column --line-number --hidden --smart-case --no-heading --color=always '.shellescape(<q-args>), 1,
\ <bang>0 ? fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}, 'up:60%')
\ : fzf#vim#with_preview({'options': '--delimiter : --nth 4.. -e'}, 'right:50%', '?'),
\ <bang>0) \ fzf#vim#with_preview(), <bang>0)
\ <bang>0)
" Ripgrep advanced
function! RipgrepFzf(query, fullscreen)