1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:10:05 +08:00

Fix ad support in zsh

This commit is contained in:
wsdjeg 2017-01-01 21:31:57 +08:00
parent d296fb527b
commit 3511e02efc
3 changed files with 18 additions and 2 deletions

View File

@ -47,6 +47,13 @@ function! SpaceVim#init() abort
let g:spacevim_checkinstall = 0 let g:spacevim_checkinstall = 0
let g:spacevim_hiddenfileinfo = 1 let g:spacevim_hiddenfileinfo = 1
let g:spacevim_plugin_groups_exclude = [] let g:spacevim_plugin_groups_exclude = []
""
" groups of plugins should be loaded.
"
" example: >
" let g:spacevim_plugin_groups = ['core', 'lang']
" <
" now Space Vim support these groups:
let g:spacevim_plugin_groups = [] let g:spacevim_plugin_groups = []
let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default'] let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default']
let g:spacevim_smartcloseignoreft = ['help'] let g:spacevim_smartcloseignoreft = ['help']

View File

@ -254,7 +254,7 @@ fu! zvim#util#Generate_ignore(ignore,tool) abort
if a:tool ==# 'ag' if a:tool ==# 'ag'
for ig in split(a:ignore,',') for ig in split(a:ignore,',')
call add(ignore, '--ignore') call add(ignore, '--ignore')
call add(ignore, ig) call add(ignore, '"' . ig . '"')
endfor endfor
elseif a:tool ==# 'rg' elseif a:tool ==# 'rg'
for ig in split(a:ignore,',') for ig in split(a:ignore,',')

View File

@ -37,6 +37,15 @@ The default file manager of SpaceVim.
The default plugin manager of SpaceVim, dein, neobundle or vim-plug. by The default plugin manager of SpaceVim, dein, neobundle or vim-plug. by
default it is dein. default it is dein.
*g:spacevim_plugin_groups*
groups of plugins should be loaded.
example:
>
let g:spacevim_plugin_groups = ['core', 'lang']
<
now Space Vim support these groups:
*g:spacevim_hosts_url* *g:spacevim_hosts_url*
The host file url. this option is for chinese users who can not use google and The host file url. this option is for chinese users who can not use google and
twitter. twitter.