Update Rg example to use smart-case option (#658)

This commit is contained in:
Dylan Chong
2018-06-20 21:20:24 +12:00
committed by Junegunn Choi
parent ce82e10630
commit 34881b707b
2 changed files with 2 additions and 2 deletions

View File

@@ -203,7 +203,7 @@ command! -bang -nargs=* Ag
" Similarly, we can apply it to fzf#vim#grep. To use ripgrep instead of ag:
command! -bang -nargs=* Rg
\ call fzf#vim#grep(
\ 'rg --column --line-number --no-heading --color=always '.shellescape(<q-args>), 1,
\ 'rg --column --line-number --no-heading --color=always --smart-case '.shellescape(<q-args>), 1,
\ <bang>0 ? fzf#vim#with_preview('up:60%')
\ : fzf#vim#with_preview('right:50%:hidden', '?'),
\ <bang>0)