Explorar o código

Don't add blank line for empty custom header

Closes #210.
Marco Hinz %!s(int64=9) %!d(string=hai) anos
pai
achega
570ef9e11f
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      autoload/startify.vim

+ 3 - 1
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