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:
parent
e49787ecf0
commit
8b84e4959a
@ -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,',')
|
||||
|
Loading…
Reference in New Issue
Block a user