From 6c7fb797500b08779eb45260279e00308cd49279 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 7 Mar 2013 03:58:34 +0100 Subject: [PATCH] update signify when gvim regains focus --- plugin/signify.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/signify.vim b/plugin/signify.vim index 0b8c97b..f3a9acf 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -60,10 +60,10 @@ endif " Initial stuff {{{1 aug signify au! - au ColorScheme * call s:set_colors() - au BufWritePost * call s:start() - au BufEnter * let s:colors_set = 0 | call s:start() - au BufDelete * call s:stop() | call s:remove_from_buffer_list(expand('%:p')) + au ColorScheme * call s:set_colors() + au BufWritePost,FocusGained * call s:start() + au BufEnter * let s:colors_set = 0 | call s:start() + au BufDelete * call s:stop() | call s:remove_from_buffer_list(expand('%:p')) aug END com! -nargs=0 -bar SignifyToggle call s:toggle_signify()