diff --git a/autoload/SpaceVim/layers/VersionControl.vim b/autoload/SpaceVim/layers/VersionControl.vim index c05ae933a..e7c008c47 100644 --- a/autoload/SpaceVim/layers/VersionControl.vim +++ b/autoload/SpaceVim/layers/VersionControl.vim @@ -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: diff --git a/config/plugins/vim-signify.vim b/config/plugins/vim-signify.vim new file mode 100644 index 000000000..626ad1d42 --- /dev/null +++ b/config/plugins/vim-signify.vim @@ -0,0 +1,5 @@ +augroup signify_config + autocmd! + autocmd User Signify let &l:statusline = SpaceVim#layers#core#statusline#get(1) +augroup END +