From e74753a221f82b2c7bade8c079683c19252484fe Mon Sep 17 00:00:00 2001 From: Maria José Solano Date: Tue, 17 Jun 2025 06:37:27 -0700 Subject: fix(docs): callback annotation for `vim.ui.input` #34507 --- runtime/lua/vim/ui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim/ui.lua') diff --git a/runtime/lua/vim/ui.lua b/runtime/lua/vim/ui.lua index ae6138770a..4a5ffd73e6 100644 --- a/runtime/lua/vim/ui.lua +++ b/runtime/lua/vim/ui.lua @@ -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 -- cgit