aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-09-25 19:58:27 -0400
committerGitHub <noreply@github.com>2022-09-25 16:58:27 -0700
commit63be7651829f8b77c4974d08ebe09f7775e41a8a (patch)
tree5c468c7fc512f0271db4c0aa72b62a6218fbe23c /runtime/lua/vim/_editor.lua
parent9ffa041a9a5fc8cd9acca97cae16f66ba0c82805 (diff)
downloadrneovim-63be7651829f8b77c4974d08ebe09f7775e41a8a.tar.gz
rneovim-63be7651829f8b77c4974d08ebe09f7775e41a8a.tar.bz2
rneovim-63be7651829f8b77c4974d08ebe09f7775e41a8a.zip
fix(docs): invalid :help links #20345
Fix those naughty single quotes. closes #20159
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
-rw-r--r--runtime/lua/vim/_editor.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua
index b8a7f71145..96a87b8bb9 100644
--- a/runtime/lua/vim/_editor.lua
+++ b/runtime/lua/vim/_editor.lua
@@ -401,7 +401,7 @@ end
---@param bufnr number of buffer
---@param pos1 (line, column) tuple marking beginning of region
---@param pos2 (line, column) tuple marking end of region
----@param regtype type of selection (:help setreg)
+---@param regtype type of selection, see |setreg()|
---@param inclusive boolean indicating whether the selection is end-inclusive
---@return region lua table of the form {linenr = {startcol,endcol}}
function vim.region(bufnr, pos1, pos2, regtype, inclusive)
@@ -448,7 +448,7 @@ end
--- Defers calling `fn` until `timeout` ms passes.
---
--- Use to do a one-shot timer that calls `fn`
---- Note: The {fn} is |schedule_wrap|ped automatically, so API functions are
+--- Note: The {fn} is |vim.schedule_wrap()|ped automatically, so API functions are
--- safe to call.
---@param fn Callback to call once `timeout` expires
---@param timeout Number of milliseconds to wait before calling `fn`