parent
882ba6e282
commit
c2d062ab12
@ -50,12 +50,12 @@ sign define SignifyPlaceholder text=. texthl=SignifyChange linehl=NONE
|
|||||||
augroup signify
|
augroup signify
|
||||||
autocmd!
|
autocmd!
|
||||||
|
|
||||||
autocmd BufEnter * let s:path = resolve(expand('<afile>:p'))
|
autocmd BufRead * let s:path = resolve(expand('<afile>:p'))
|
||||||
autocmd BufWritePost * call s:start(s:path)
|
autocmd BufRead,BufWritePost * call s:start(s:path)
|
||||||
autocmd VimEnter,ColorScheme * call s:colors_set()
|
autocmd VimEnter,ColorScheme * call s:colors_set()
|
||||||
|
|
||||||
if get(g:, 'signify_update_on_bufenter', 1)
|
if get(g:, 'signify_update_on_bufenter', 1)
|
||||||
autocmd BufEnter * call s:start(s:path)
|
autocmd BufEnter * if &modified | call s:start(s:path) | endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get(g:, 'signify_cursorhold_normal')
|
if get(g:, 'signify_cursorhold_normal')
|
||||||
|
Loading…
Reference in New Issue
Block a user