doc: more detailed type annotations for setup() call

This commit is contained in:
Steven Arcangeli 2024-05-22 13:46:11 -07:00
parent 259b1fbc84
commit 2cb39e838e
6 changed files with 49 additions and 7 deletions

View file

@ -165,9 +165,9 @@ If you provide your own callback function, there will be no notification for err
`setup(opts)` \
Initialize oil
| Param | Type | Desc |
| ----- | ------------ | ---- |
| opts | `nil\|table` | |
| Param | Type | Desc |
| ----- | -------------------- | ---- |
| opts | `oil.setupOpts\|nil` | |
<!-- /API -->

View file

@ -338,7 +338,7 @@ setup({opts}) *oil.setu
Initialize oil
Parameters:
{opts} `nil|table`
{opts} `oil.setupOpts|nil`
--------------------------------------------------------------------------------
COLUMNS *oil-columns*