From a31883867e3c5529d46ec88aacdb33c639263fe7 Mon Sep 17 00:00:00 2001 From: miyase256 Date: Wed, 13 Oct 2021 15:52:26 +0900 Subject: [PATCH] fix: remove -complete from RgRoot to resolve E1208 (-complete used without -nargs) error --- plugin/vim-ripgrep.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/vim-ripgrep.vim b/plugin/vim-ripgrep.vim index 9bc029d..7188001 100644 --- a/plugin/vim-ripgrep.vim +++ b/plugin/vim-ripgrep.vim @@ -146,4 +146,4 @@ fun! s:RgShowRoot() endfun command! -nargs=* -complete=file Rg :call s:Rg() -command! -complete=file RgRoot :call s:RgShowRoot() +command! RgRoot :call s:RgShowRoot()