Doc: explain all keys for the Funcref type
This commit is contained in:
parent
675f8fcc14
commit
7bbc46e1c2
|
@ -186,10 +186,16 @@ Built-in types:~
|
||||||
Funcref type:~
|
Funcref type:~
|
||||||
|
|
||||||
The referenced function must return a list of dictionaries. Each dictionary
|
The referenced function must return a list of dictionaries. Each dictionary
|
||||||
is an entry and consists of two keys: 'line' and 'cmd'.
|
is an entry that consists of these keys:
|
||||||
|
|
||||||
'line' is the actual entry to display and 'cmd' is a Vim command to execute
|
'line' The text to display for this entry. (required)
|
||||||
when this entry gets chosen.
|
|
||||||
|
'cmd' The Vim command to execute when the entry gets chosen.
|
||||||
|
(required unless 'path' is given)
|
||||||
|
|
||||||
|
'path' Points to a file. This way you can even use the standard markers
|
||||||
|
like `s` or `v` etc. to open multiple entries at once.
|
||||||
|
(required unless 'cmd' is given)
|
||||||
|
|
||||||
Example #1:~
|
Example #1:~
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue