aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authoratusy <30277794+atusy@users.noreply.github.com>2022-04-21 10:15:19 +0900
committeratusy <30277794+atusy@users.noreply.github.com>2022-04-21 10:45:39 +0900
commit5ecbbba6ee4364dd2ad8ae4bebd0b004ae20deaf (patch)
tree18adbe45fe8f2834e5c7440d83f482005f79b600 /runtime/doc
parentdb851cb105ac9f295a836a39ff73da14a70ae754 (diff)
downloadrneovim-5ecbbba6ee4364dd2ad8ae4bebd0b004ae20deaf.tar.gz
rneovim-5ecbbba6ee4364dd2ad8ae4bebd0b004ae20deaf.tar.bz2
rneovim-5ecbbba6ee4364dd2ad8ae4bebd0b004ae20deaf.zip
docs: vim.keymap.set can specify buffer as an option
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lua.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 16f27486c8..1d51c86dab 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -2055,6 +2055,9 @@ set({mode}, {lhs}, {rhs}, {opts}) *vim.keymap.set()*
"silent". In addition to the options listed in
|nvim_set_keymap()|, this table also accepts the
following keys:
+ • buffer: (number or boolean) Add a mapping to the
+ given buffer. When "true" or 0, use the current
+ buffer.
• replace_keycodes: (boolean, default true) When
both this and expr is "true",
|nvim_replace_termcodes()| is applied to the