mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
1836e7ee66
- set default search tools available to Grepper (before filtering) to be the same as the tools available to FlyGrep
10 lines
263 B
VimL
10 lines
263 B
VimL
" 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
|