mirror of
https://github.com/jremmen/vim-ripgrep.git
synced 2025-12-26 19:45:29 +08:00
allow using the bang modifier with the command
supplying a bang has no effect, but permits :rg! as a drop-in replacement for grep!.
This commit is contained in:
parent
ec87af6b69
commit
b80c1a274a
1 changed files with 1 additions and 1 deletions
|
|
@ -145,5 +145,5 @@ fun! s:RgShowRoot()
|
|||
endif
|
||||
endfun
|
||||
|
||||
command! -nargs=* -complete=file Rg :call s:Rg(<q-args>)
|
||||
command! -nargs=* -complete=file -bang Rg :call s:Rg(<q-args>)
|
||||
command! -complete=file RgRoot :call s:RgShowRoot()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue