Skip to content

Commit d784958

Browse files
committed
Skip default header for very old versions
Closes #386
1 parent 2486ab6 commit d784958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/startify.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function! startify#insane_in_the_membrane(on_vimenter) abort
6464
" Must be global so that it can be read by syntax/startify.vim.
6565
let g:startify_header = exists('g:startify_custom_header')
6666
\ ? s:set_custom_section(g:startify_custom_header)
67-
\ : startify#fortune#cowsay()
67+
\ : (exists('*strwidth') ? startify#fortune#cowsay() : [])
6868
if !empty(g:startify_header)
6969
let g:startify_header += [''] " add blank line
7070
endif

0 commit comments

Comments
 (0)