From 24840c28f39b5d5a418d4118ca34e2ac5c4d3898 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 6 Jun 2013 12:39:24 +0200 Subject: [PATCH] Disable 'update_on_bufenter' per default --- doc/signify.txt | 7 ++----- plugin/signify.vim | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/signify.txt b/doc/signify.txt index acc0bac..8d69eff 100644 --- a/doc/signify.txt +++ b/doc/signify.txt @@ -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. ============- diff --git a/plugin/signify.vim b/plugin/signify.vim index 49724c0..8a2a894 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -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