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
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()