Doc: mention startify#fortune#predefined_quotes()
This commit is contained in:
parent
21294851f6
commit
d66c31f02e
|
@ -590,7 +590,7 @@ Also have a look at |startify-faq-08|.
|
||||||
*g:startify_custom_header_quotes*
|
*g:startify_custom_header_quotes*
|
||||||
|
|
||||||
If you don't set |g:startify_custom_header|, the internal cowsay implementation
|
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
|
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.
|
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')}
|
\ {-> 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*
|
*g:startify_custom_footer*
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue