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.
|
Update signs when entering a buffer that was modified.
|
||||||
|
|
||||||
NOTE: Disable this if you're working in huge repositories and experience
|
|
||||||
delays.
|
|
||||||
|
|
||||||
============-
|
============-
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ augroup signify
|
|||||||
autocmd BufRead,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')
|
||||||
autocmd BufEnter * if &modified | call s:start(s:path) | endif
|
autocmd BufEnter * if &modified | call s:start(s:path) | endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user