From 8b84e4959a542fba3aa7692e26d8fcc9ff4ae029 Mon Sep 17 00:00:00 2001 From: Fabio Gibson Date: Wed, 6 Dec 2017 11:58:33 -0200 Subject: [PATCH] eclosing ignore patterns for ag searcher --- autoload/zvim/util.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/zvim/util.vim b/autoload/zvim/util.vim index 7be33f3cb..abc0df5cc 100644 --- a/autoload/zvim/util.vim +++ b/autoload/zvim/util.vim @@ -277,7 +277,7 @@ fu! zvim#util#Generate_ignore(ignore,tool, ...) abort if a:tool ==# 'ag' for ig in split(a:ignore,',') call add(ignore, '--ignore') - call add(ignore, ig ) + call add(ignore, "'" . ig . "'") endfor elseif a:tool ==# 'rg' for ig in split(a:ignore,',')