瀏覽代碼

Pad default header

Marco Hinz 6 年之前
父節點
當前提交
af03e075a3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      autoload/startify.vim

+ 1 - 1
autoload/startify.vim

@@ -84,7 +84,7 @@ function! startify#insane_in_the_membrane(on_vimenter) abort
   " Must be global so that it can be read by syntax/startify.vim.
   let g:startify_header = exists('g:startify_custom_header')
         \ ? s:set_custom_section(g:startify_custom_header)
-        \ : (exists('*strwidth') ? startify#fortune#cowsay() : [])
+        \ : (exists('*strwidth') ? startify#pad(startify#fortune#cowsay()) : [])
   if !empty(g:startify_header)
     let g:startify_header += ['']  " add blank line
   endif