From a90684813f56ffdb1b25b567833be10141670fc4 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 1 Oct 2019 16:56:21 +0200 Subject: [PATCH] Don't pad startify#fortune#cowsay() This makes it easier to use for scripting purposes. --- autoload/startify/fortune.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/startify/fortune.vim b/autoload/startify/fortune.vim index 487f701..f8ecfd0 100644 --- a/autoload/startify/fortune.vim +++ b/autoload/startify/fortune.vim @@ -50,8 +50,7 @@ function! startify#fortune#cowsay(...) abort let quote = startify#fortune#quote() endif let boxed_quote = startify#fortune#boxed(quote) - let boxed_quote += s:cow - return map(boxed_quote, '" ". v:val') + return boxed_quote + s:cow endfunction " Function: #predefined_quotes {{{1