Explorar el Código

Don't add blank line for empty custom header

Closes #210.
Marco Hinz hace 9 años
padre
commit
570ef9e11f
Se han modificado 1 ficheros con 3 adiciones y 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