mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
docs: various clarifications (#23999)
Close #18907 Close #20314 Close #23749
This commit is contained in:
@@ -534,9 +534,9 @@ function vim.region(bufnr, pos1, pos2, regtype, inclusive)
|
||||
return region
|
||||
end
|
||||
|
||||
--- Defers calling `fn` until `timeout` ms passes.
|
||||
--- Defers calling {fn} until {timeout} ms passes.
|
||||
---
|
||||
--- Use to do a one-shot timer that calls `fn`
|
||||
--- Use to do a one-shot timer that calls {fn}
|
||||
--- Note: The {fn} is |vim.schedule_wrap()|ped automatically, so API functions are
|
||||
--- safe to call.
|
||||
---@param fn function Callback to call once `timeout` expires
|
||||
|
Reference in New Issue
Block a user