mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
fix(docs): callback annotation for vim.ui.input #34507
This commit is contained in:
committed by
GitHub
parent
006361fc6b
commit
e74753a221
@@ -81,7 +81,7 @@ end
|
||||
--- - highlight (function)
|
||||
--- Function that will be used for highlighting
|
||||
--- user inputs.
|
||||
---@param on_confirm function ((input|nil) -> ())
|
||||
---@param on_confirm fun(input:string|nil)
|
||||
--- Called once the user confirms or abort the input.
|
||||
--- `input` is what the user typed (it might be
|
||||
--- an empty string if nothing was entered), or
|
||||
|
||||
Reference in New Issue
Block a user