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:
@ -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()
|
||||
|
Reference in New Issue
Block a user