aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorMaria José Solano <majosolano99@gmail.com>2025-06-17 06:37:27 -0700
committerGitHub <noreply@github.com>2025-06-17 06:37:27 -0700
commite74753a221f82b2c7bade8c079683c19252484fe (patch)
treec866fa753991629ded17a9eab7c7268588f85101 /runtime/lua/vim
parent006361fc6b98a989f85f0709493f9864bdb10dfa (diff)
downloadrneovim-e74753a221f82b2c7bade8c079683c19252484fe.tar.gz
rneovim-e74753a221f82b2c7bade8c079683c19252484fe.tar.bz2
rneovim-e74753a221f82b2c7bade8c079683c19252484fe.zip
fix(docs): callback annotation for `vim.ui.input` #34507
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/ui.lua2
1 files changed, 1 insertions, 1 deletions
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