Disable 'update_on_bufenter' per default
This commit is contained in:
parent
c2d062ab12
commit
24840c28f3
@ -150,12 +150,9 @@ Overwrite signs set by other plugins by default.
|
||||
|
||||
============-
|
||||
|
||||
let g:signify_update_on_bufenter = 1
|
||||
let g:signify_update_on_bufenter = 0
|
||||
|
||||
Update signs when entering a buffer.
|
||||
|
||||
NOTE: Disable this if you're working in huge repositories and experience
|
||||
delays.
|
||||
Update signs when entering a buffer that was modified.
|
||||
|
||||
============-
|
||||
|
||||
|
@ -54,7 +54,7 @@ augroup signify
|
||||
autocmd BufRead,BufWritePost * call s:start(s:path)
|
||||
autocmd VimEnter,ColorScheme * call s:colors_set()
|
||||
|
||||
if get(g:, 'signify_update_on_bufenter', 1)
|
||||
if get(g:, 'signify_update_on_bufenter')
|
||||
autocmd BufEnter * if &modified | call s:start(s:path) | endif
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user