aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/api.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-16 17:32:37 +0800
committerGitHub <noreply@github.com>2022-02-16 17:32:37 +0800
commit0852644bee77f13563d805233c35227b9a00798f (patch)
tree6f5e61d3e3da76a5467e346f54c55d8f536fe375 /runtime/doc/api.txt
parent9a74c2b04ac8f54a17925a437b5a2f03b18f6281 (diff)
parent758f1e59990ab515c17667f8a4ee2d3fe44af29f (diff)
downloadrneovim-0852644bee77f13563d805233c35227b9a00798f.tar.gz
rneovim-0852644bee77f13563d805233c35227b9a00798f.tar.bz2
rneovim-0852644bee77f13563d805233c35227b9a00798f.zip
Merge pull request #17424 from zeertzjq/map-followup
follow-up PR to #17423
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r--runtime/doc/api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 7a5aeee603..1e1534c31f 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1584,7 +1584,7 @@ nvim_set_keymap({mode}, {lhs}, {rhs}, {*opts}) *nvim_set_keymap()*
{rhs} Right-hand-side |{rhs}| of the mapping.
{opts} Optional parameters map. Accepts all
|:map-arguments| as keys excluding |<buffer>| but
- including |noremap| and "desc". |desc| can be used
+ including |noremap| and "desc". "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.