doc: better type annotations for API methods
This commit is contained in:
parent
06a19f77f1
commit
259b1fbc84
4 changed files with 21 additions and 15 deletions
|
|
@ -136,7 +136,7 @@ Select the entry under the cursor
|
|||
|
||||
| Param | Type | Desc | |
|
||||
| -------- | ---------------------------- | -------------------------------------------------- | ---------------------------------------------------- |
|
||||
| opts | `nil\|table` | | |
|
||||
| opts | `nil\|oil.SelectOpts` | | |
|
||||
| | vertical | `boolean` | Open the buffer in a vertical split |
|
||||
| | horizontal | `boolean` | Open the buffer in a horizontal split |
|
||||
| | split | `"aboveleft"\|"belowright"\|"topleft"\|"botright"` | Split modifier |
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ select({opts}, {callback}) *oil.selec
|
|||
Select the entry under the cursor
|
||||
|
||||
Parameters:
|
||||
{opts} `nil|table`
|
||||
{opts} `nil|oil.SelectOpts`
|
||||
{vertical} `boolean` Open the buffer in a vertical split
|
||||
{horizontal} `boolean` Open the buffer in a horizontal split
|
||||
{split} `"aboveleft"|"belowright"|"topleft"|"botright"` Split
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue