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

Set search tools for Grepper (#3069)

- set default search tools available to Grepper (before filtering)
  to be the same as the tools available to FlyGrep
This commit is contained in:
Jethro Cao 2019-09-19 20:13:33 +08:00 committed by Wang Shidong
parent 79e39174a1
commit 1836e7ee66

View File

@ -0,0 +1,9 @@
" initialize g:grepper if it does not exist
if !exists('g:grepper')
let g:grepper = {}
endif
" set value of g:grepper['tools'] to the same list of tools used by FlyGrep
if !has_key(g:grepper, 'tools')
let g:grepper = {'tools': g:spacevim_search_tools}
endif