Use fzf#shellescape instead (#1503)

This commit is contained in:
jiz4oh
2023-09-07 10:31:15 +08:00
committed by GitHub
parent 7ba5be32bc
commit 587f55bf50
5 changed files with 5 additions and 5 deletions

View File

@@ -303,7 +303,7 @@ predefined `Ag` or `Rg` using `fzf#vim#grep`.
```vim
command! -bang -nargs=* GGrep
\ call fzf#vim#grep(
\ 'git grep --line-number -- '.shellescape(<q-args>),
\ 'git grep --line-number -- '.fzf#shellescape(<q-args>),
\ fzf#vim#with_preview({'dir': systemlist('git rev-parse --show-toplevel')[0]}), <bang>0)
```