1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00

eclosing ignore patterns for ag searcher

This commit is contained in:
Fabio Gibson 2017-12-06 11:58:33 -02:00
parent e49787ecf0
commit 8b84e4959a

View File

@ -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,',')