mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
docs: fix type of vim.validate value
This commit is contained in:
parent
30726c778c
commit
3bb2d02759
@ -2477,7 +2477,7 @@ vim.validate({name}, {value}, {validator}, {optional}, {message})
|
|||||||
|
|
||||||
Parameters: ~
|
Parameters: ~
|
||||||
• {name} (`string`) Argument name
|
• {name} (`string`) Argument name
|
||||||
• {value} (`string`) Argument value
|
• {value} (`any`) Argument value
|
||||||
• {validator} (`vim.validate.Validator`)
|
• {validator} (`vim.validate.Validator`)
|
||||||
• (`string|string[]`): Any value that can be returned
|
• (`string|string[]`): Any value that can be returned
|
||||||
from |lua-type()| in addition to `'callable'`:
|
from |lua-type()| in addition to `'callable'`:
|
||||||
|
@ -1013,7 +1013,7 @@ do
|
|||||||
--- best performance.
|
--- best performance.
|
||||||
---
|
---
|
||||||
--- @param name string Argument name
|
--- @param name string Argument name
|
||||||
--- @param value string Argument value
|
--- @param value any Argument value
|
||||||
--- @param validator vim.validate.Validator
|
--- @param validator vim.validate.Validator
|
||||||
--- - (`string|string[]`): Any value that can be returned from |lua-type()| in addition to
|
--- - (`string|string[]`): Any value that can be returned from |lua-type()| in addition to
|
||||||
--- `'callable'`: `'boolean'`, `'callable'`, `'function'`, `'nil'`, `'number'`, `'string'`, `'table'`,
|
--- `'callable'`: `'boolean'`, `'callable'`, `'function'`, `'nil'`, `'number'`, `'string'`, `'table'`,
|
||||||
|
Loading…
Reference in New Issue
Block a user