diff options
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lua.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index ddf11fd966..a77cc3b565 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -2752,7 +2752,7 @@ vim.keymap.del({modes}, {lhs}, {opts}) *vim.keymap.del()* Parameters: ~ • {opts} (table|nil) A table of optional arguments: - • "buffer": (number|boolean) Remove a mapping from the given + • "buffer": (integer|boolean) Remove a mapping from the given buffer. When `0` or `true`, use the current buffer. See also: ~ @@ -2786,7 +2786,7 @@ vim.keymap.set({mode}, {lhs}, {rhs}, {opts}) *vim.keymap.set()* • "noremap": inverse of "remap" (see below). • Also accepts: - • "buffer": (number|boolean) Creates buffer-local mapping, + • "buffer": (integer|boolean) Creates buffer-local mapping, `0` or `true` for current buffer. • "remap": (boolean) Make the mapping recursive. Inverse of "noremap". Defaults to `false`. |