mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 02:34:59 -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: ~
|
||||
• {name} (`string`) Argument name
|
||||
• {value} (`string`) Argument value
|
||||
• {value} (`any`) Argument value
|
||||
• {validator} (`vim.validate.Validator`)
|
||||
• (`string|string[]`): Any value that can be returned
|
||||
from |lua-type()| in addition to `'callable'`:
|
||||
|
@ -1013,7 +1013,7 @@ do
|
||||
--- best performance.
|
||||
---
|
||||
--- @param name string Argument name
|
||||
--- @param value string Argument value
|
||||
--- @param value any Argument value
|
||||
--- @param validator vim.validate.Validator
|
||||
--- - (`string|string[]`): Any value that can be returned from |lua-type()| in addition to
|
||||
--- `'callable'`: `'boolean'`, `'callable'`, `'function'`, `'nil'`, `'number'`, `'string'`, `'table'`,
|
||||
|
Loading…
Reference in New Issue
Block a user