From 01bcf8afabfdda60c151e0a192d4d6dd819c5dc9 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 21 Feb 2017 17:10:48 +0100 Subject: [PATCH] Win/gVim: fix "no signs at start" race --- plugin/signify.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/signify.vim b/plugin/signify.vim index fa0ee68..088a602 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -37,6 +37,11 @@ augroup signify if (s:realtime || get(g:, 'signify_update_on_focusgained')) && !has('gui_win32') autocmd FocusGained * SignifyRefresh endif + + if has('gui_running') && has('win32') + " Fix 'no signs at start' race. + autocmd GUIEnter * redraw + endif augroup END " Init: commands {{{1