From 39d2e1f111070469010e43851fd0c17f253f2ea7 Mon Sep 17 00:00:00 2001 From: Yves Deweerdt Date: Mon, 28 Aug 2017 16:51:10 +0200 Subject: [PATCH] fix the check if the user wants to overrule rg_root_types --- 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 3b6ad85..2c51cdf 100644 --- a/plugin/vim-ripgrep.vim +++ b/plugin/vim-ripgrep.vim @@ -16,7 +16,7 @@ if !exists('g:rg_command') let g:rg_command = g:rg_binary . ' --vimgrep' endif -if !exists('g:rg_rootfiles') +if !exists('g:rg_root_types') let g:rg_root_types = ['.git'] endif