1
0
mirror of https://github.com/pcvolkmer/vim-fugistate.git synced 2025-07-02 03:42:54 +00:00

Add label configuration for git dir status

This commit is contained in:
2022-01-20 12:48:33 +01:00
parent b47b8091da
commit 0037cb5c6f
3 changed files with 27 additions and 9 deletions

View File

@ -11,6 +11,18 @@ if ! exists('g:fugistate_expand_filename')
let g:fugistate_expand_filename = '%:t'
endif
if ! exists('g:fugistate_label_changed')
let g:fugistate_label_changed = 'changed'
endif
if ! exists('g:fugistate_label_new')
let g:fugistate_label_new = 'new'
endif
if ! exists('g:fugistate_label_unversioned')
let g:fugistate_label_unversioned = 'unversioned'
endif
augroup FugiState
autocmd!
autocmd BufEnter,BufWritePost,FocusGained * :call fugistate#update()