Merge pull request #6 from RobinClowers/enable-autocomplete

Allow file path completion in the Rg command
This commit is contained in:
John Remmen 2017-10-03 13:01:27 -07:00 committed by GitHub
commit f8e1658e3b

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()