From 84d148676e3649fce4db94424937df54b536addb Mon Sep 17 00:00:00 2001 From: Takahiro Yoshihara Date: Mon, 12 Jul 2021 09:59:55 +0900 Subject: [PATCH] Fix E1208 started showing up in Vim v8.2.3149 `-complete` is not needed since :RgRoot` takes no arguments. --- 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()