Browse Source

Doc: mention startify#fortune#predefined_quotes()

Marco Hinz 8 years ago
parent
commit
d66c31f02e
1 changed files with 6 additions and 1 deletions
  1. 6 1
      doc/startify.txt

+ 6 - 1
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*
 >