Don't pad startify#fortune#cowsay()

This makes it easier to use for scripting purposes.
This commit is contained in:
Marco Hinz 2019-10-01 16:56:21 +02:00 committed by Marco Hinz
parent 5369e219e5
commit a90684813f

View file

@ -50,8 +50,7 @@ function! startify#fortune#cowsay(...) abort
let quote = startify#fortune#quote() let quote = startify#fortune#quote()
endif endif
let boxed_quote = startify#fortune#boxed(quote) let boxed_quote = startify#fortune#boxed(quote)
let boxed_quote += s:cow return boxed_quote + s:cow
return map(boxed_quote, '" ". v:val')
endfunction endfunction
" Function: #predefined_quotes {{{1 " Function: #predefined_quotes {{{1