mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +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:
parent
79e39174a1
commit
1836e7ee66
@ -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
|
Loading…
Reference in New Issue
Block a user