From 6f0234a5e500013e502747a5c78a8b3fbedc7286 Mon Sep 17 00:00:00 2001 From: Naru Date: Sun, 15 Jan 2023 20:08:03 +0900 Subject: [PATCH] docs(lua): lua-guide: is for rhs of vim.keymap.set(), not lhs (#21814) --- runtime/doc/lua-guide.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ||, 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 ||, which disables a key. Examples: >lua