diff --git a/plugin/vim-ripgrep.vim b/plugin/vim-ripgrep.vim index 3b6ad85..3df5aa4 100644 --- a/plugin/vim-ripgrep.vim +++ b/plugin/vim-ripgrep.vim @@ -112,5 +112,5 @@ fun! s:RgShowRoot() endif endfun -command! -nargs=* Rg :call s:Rg() -command! RgRoot :call s:RgShowRoot() +command! -nargs=* -complete=file Rg :call s:Rg() +command! -complete=file RgRoot :call s:RgShowRoot()