From d66c31f02e5663c69f1f1d823c04e431f95120aa Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Sun, 14 Jan 2018 15:38:05 +0100 Subject: [PATCH] Doc: mention startify#fortune#predefined_quotes() --- doc/startify.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/startify.txt b/doc/startify.txt index 32e10ad..9142672 100644 --- a/doc/startify.txt +++ b/doc/startify.txt @@ -590,7 +590,7 @@ Also have a look at |startify-faq-08|. *g:startify_custom_header_quotes* If you don't set |g:startify_custom_header|, the internal cowsay implementation -with shipped random quotes will be used. +with predefined random quotes will be used. To use your own quotes, set this option to a list of quotes. Each quote is either another list or a |Funcref| (see |expr-lambda|) that returns a list. @@ -603,6 +603,11 @@ Each element of the inner lists is put on an own line in the custom header. \ {-> systemlist('echo quote #3')} \ ] < +If you want the predefined quotes as well, use this: +> + let g:startify_custom_header_quotes = + \ startify#fortune#predefined_quotes() + [['quote 1', 'quote 2']] +< ------------------------------------------------------------------------------ *g:startify_custom_footer* >