aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-16 16:58:32 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-02-16 16:58:32 +0800
commitcc81a8253be032aa12f05730e8a2f1b5d94fd08c (patch)
treeb911ba8941773bbeecb1a85ebd17499e3a314024 /src/nvim/api/vim.c
parent9a74c2b04ac8f54a17925a437b5a2f03b18f6281 (diff)
downloadrneovim-cc81a8253be032aa12f05730e8a2f1b5d94fd08c.tar.gz
rneovim-cc81a8253be032aa12f05730e8a2f1b5d94fd08c.tar.bz2
rneovim-cc81a8253be032aa12f05730e8a2f1b5d94fd08c.zip
docs: minor changes related to mapping description
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 f4909b0801..565015cada 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1584,7 +1584,7 @@ ArrayOf(Dictionary) nvim_get_keymap(uint64_t channel_id, String mode)
/// @param rhs Right-hand-side |{rhs}| of the mapping.
/// @param opts Optional parameters map. Accepts all |:map-arguments|
/// as keys excluding |<buffer>| but including |noremap| and "desc".
-/// |desc| can be used to give a description to keymap.
+/// "desc" can be used to give a description to keymap.
/// When called from Lua, also accepts a "callback" key that takes
/// a Lua function to call when the mapping is executed.
/// Values are Booleans. Unknown key is an error.