diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-06-12 20:08:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 20:08:08 +0800 |
commit | 0eb02ea90a5a7c2e35bfcf99b701a28ff2901b4b (patch) | |
tree | 7735f3708831104414789f645870baebe08e0662 /runtime/lua/vim/_editor.lua | |
parent | 758c418d1261fd69c4a85aa5cfa6a0d1dcdf66a4 (diff) | |
download | rneovim-0eb02ea90a5a7c2e35bfcf99b701a28ff2901b4b.tar.gz rneovim-0eb02ea90a5a7c2e35bfcf99b701a28ff2901b4b.tar.bz2 rneovim-0eb02ea90a5a7c2e35bfcf99b701a28ff2901b4b.zip |
docs: various clarifications (#23999)
Close #18907
Close #20314
Close #23749
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
-rw-r--r-- | runtime/lua/vim/_editor.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua index 1c7eb30b03..1de2ade1a1 100644 --- a/runtime/lua/vim/_editor.lua +++ b/runtime/lua/vim/_editor.lua @@ -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 |