Allow file path completion in the Rg command

This commit is contained in:
Robin Clowers 2017-06-07 09:35:34 -07:00
parent da940c29ac
commit 6fca39d2a9

View file

@ -112,5 +112,5 @@ fun! s:RgShowRoot()
endif
endfun
command! -nargs=* Rg :call s:Rg(<q-args>)
command! RgRoot :call s:RgShowRoot()
command! -nargs=* -complete=file Rg :call s:Rg(<q-args>)
command! -complete=file RgRoot :call s:RgShowRoot()