From 570ef9e11f997fd245083e190bfe644f366d79ce Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 20 Mar 2016 14:21:55 +0100 Subject: [PATCH] Don't add blank line for empty custom header Closes #210. --- autoload/startify.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 11d3168..ec0657a 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -88,7 +88,9 @@ function! startify#insane_in_the_membrane() abort else let g:startify_header = startify#fortune#cowsay() endif - let g:startify_header += [''] " add blank line + if !empty(g:startify_header) + let g:startify_header += [''] " add blank line + endif call append('$', g:startify_header) let s:tick = 0