1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:40:06 +08:00

Let tagbar use g:spacevim_sidebar_width

This commit is contained in:
wsdjeg 2017-02-16 21:46:37 +08:00
parent 55dff51ffa
commit 303fdad655
4 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ let g:spacevim_guifont = ''
let g:spacevim_enable_ycm = 0 let g:spacevim_enable_ycm = 0
"" ""
" Set the width of value of spacevim sidebar width, and this value will be " Set the width of value of spacevim sidebar width, and this value will be
" used by tagbar, vimfiler, mundo etc. default it is 30. " used by tagbar, vimfiler. default it is 30.
let g:spacevim_sidebar_width = 30 let g:spacevim_sidebar_width = 30
let g:spacevim_enable_neocomplcache = 0 let g:spacevim_enable_neocomplcache = 0
"" ""

View File

@ -1,4 +1,4 @@
let g:tagbar_width=30 let g:tagbar_width = g:spacevim_sidebar_width
let g:tagbar_left = 1 let g:tagbar_left = 1

View File

@ -26,7 +26,7 @@ endif
call vimfiler#custom#profile('default', 'context', { call vimfiler#custom#profile('default', 'context', {
\ 'explorer' : 1, \ 'explorer' : 1,
\ 'winwidth' : get(g:, 'spacevim_sidebar_width', 30) , \ 'winwidth' : g:spacevim_sidebar_width,
\ 'winminwidth' : 30, \ 'winminwidth' : 30,
\ 'toggle' : 1, \ 'toggle' : 1,
\ 'columns' : 'type', \ 'columns' : 'type',

View File

@ -126,7 +126,7 @@ Disable/Enable YouCompleteMe, by default it is disabled. To enable it:
*g:spacevim_sidebar_width* *g:spacevim_sidebar_width*
Set the width of value of spacevim sidebar width, and this value will be used Set the width of value of spacevim sidebar width, and this value will be used
by tagbar, vimfiler, mundo etc. default it is 30. by tagbar, vimfiler. default it is 30.
*g:spacevim_enable_cursorline* *g:spacevim_enable_cursorline*
Enable cursorline Enable cursorline