update signify when gvim regains focus

This commit is contained in:
Marco Hinz 2013-03-07 03:58:34 +01:00
parent 58148c2fb7
commit 6c7fb79750

View File

@ -60,10 +60,10 @@ endif
" Initial stuff {{{1 " Initial stuff {{{1
aug signify aug signify
au! au!
au ColorScheme * call s:set_colors() au ColorScheme * call s:set_colors()
au BufWritePost * call s:start() au BufWritePost,FocusGained * call s:start()
au BufEnter * let s:colors_set = 0 | 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 BufDelete * call s:stop() | call s:remove_from_buffer_list(expand('%:p'))
aug END aug END
com! -nargs=0 -bar SignifyToggle call s:toggle_signify() com! -nargs=0 -bar SignifyToggle call s:toggle_signify()