aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaru <naru@naruaway.com>2023-01-15 20:08:03 +0900
committerGitHub <noreply@github.com>2023-01-15 12:08:03 +0100
commit6f0234a5e500013e502747a5c78a8b3fbedc7286 (patch)
treeaac5e918d70dbc48024aa28d9d14a6c0f100e535
parent6134c1e8a39a5e61d0593613343a5923a86e3545 (diff)
downloadrneovim-6f0234a5e500013e502747a5c78a8b3fbedc7286.tar.gz
rneovim-6f0234a5e500013e502747a5c78a8b3fbedc7286.tar.bz2
rneovim-6f0234a5e500013e502747a5c78a8b3fbedc7286.zip
docs(lua): lua-guide: <Nop> is for rhs of vim.keymap.set(), not lhs (#21814)
-rw-r--r--runtime/doc/lua-guide.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lua-guide.txt b/runtime/doc/lua-guide.txt
index 71dc48b715..b971a7d2ad 100644
--- a/runtime/doc/lua-guide.txt
+++ b/runtime/doc/lua-guide.txt
@@ -406,9 +406,9 @@ mandatory arguments:
prefix for which the mapping will take effect. The prefixes are the ones
listed in |:map-modes|, or "!" for |:map!|, or empty string for |:map|.
• {lhs} is a string with the key sequences that should trigger the mapping.
- An empty string is equivalent to |<Nop>|, which disables a key.
• {rhs} is either a string with a Vim command or a Lua function that should
be executed when the {lhs} is entered.
+ An empty string is equivalent to |<Nop>|, which disables a key.
Examples:
>lua