aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-06-12 20:08:08 +0800
committerGitHub <noreply@github.com>2023-06-12 20:08:08 +0800
commit0eb02ea90a5a7c2e35bfcf99b701a28ff2901b4b (patch)
tree7735f3708831104414789f645870baebe08e0662 /src/nvim/api/vim.c
parent758c418d1261fd69c4a85aa5cfa6a0d1dcdf66a4 (diff)
downloadrneovim-0eb02ea90a5a7c2e35bfcf99b701a28ff2901b4b.tar.gz
rneovim-0eb02ea90a5a7c2e35bfcf99b701a28ff2901b4b.tar.bz2
rneovim-0eb02ea90a5a7c2e35bfcf99b701a28ff2901b4b.zip
docs: various clarifications (#23999)
Close #18907 Close #20314 Close #23749
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 62b4fd9764..368bb866d7 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1427,7 +1427,7 @@ ArrayOf(Dictionary) nvim_get_keymap(String mode)
/// values are booleans (default false). Also:
/// - "noremap" non-recursive mapping |:noremap|
/// - "desc" human-readable description.
-/// - "callback" Lua function called when the mapping is executed.
+/// - "callback" Lua function called in place of {rhs}.
/// - "replace_keycodes" (boolean) When "expr" is true, replace keycodes in the
/// resulting string (see |nvim_replace_termcodes()|). Returning nil from the Lua
/// "callback" is equivalent to returning an empty string.