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

Update statusline after signify updated (#2528)

This commit is contained in:
Wang Shidong 2019-01-30 18:48:18 +08:00 committed by GitHub
parent a700d516da
commit f7a1885286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,7 @@ let s:enable_gtm_status = 0
function! SpaceVim#layers#VersionControl#plugins() abort
let plugins = []
call add(plugins, ['mhinz/vim-signify', {'merged' : 0}])
call add(plugins, ['mhinz/vim-signify', {'merged' : 0, 'loadconf' : 1}])
call add(plugins, ['tpope/vim-fugitive', { 'merged' : 0}])
return plugins
endfunction
@ -122,7 +122,6 @@ function! s:hunks() abort
endif
return empty(rst) ? '' : ' ' . rst
endfunction
" vcs transient state functions:
" first we need to open a buffer contains:

View File

@ -0,0 +1,5 @@
augroup signify_config
autocmd!
autocmd User Signify let &l:statusline = SpaceVim#layers#core#statusline#get(1)
augroup END