Win/gvim: don't redraw screen if no files were given

References #229.
This commit is contained in:
Marco Hinz 2017-02-26 14:00:28 +01:00
parent ce7779198b
commit 96b3eda10e
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -52,7 +52,7 @@ augroup signify
endif endif
endif endif
if has('gui_running') && has('win32') if has('gui_running') && has('win32') && argc()
" Fix 'no signs at start' race. " Fix 'no signs at start' race.
autocmd GUIEnter * redraw autocmd GUIEnter * redraw
endif endif