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:
parent
a700d516da
commit
f7a1885286
@ -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:
|
||||
|
5
config/plugins/vim-signify.vim
Normal file
5
config/plugins/vim-signify.vim
Normal file
@ -0,0 +1,5 @@
|
||||
augroup signify_config
|
||||
autocmd!
|
||||
autocmd User Signify let &l:statusline = SpaceVim#layers#core#statusline#get(1)
|
||||
augroup END
|
||||
|
Loading…
Reference in New Issue
Block a user