diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-02 11:13:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 11:13:22 +0800 |
commit | 0a049c322fda5f2bb124429086c2713ff99c7142 (patch) | |
tree | cda051948c3dbaa29d7cac37d921829eb86ad380 /runtime/doc/lua.txt | |
parent | 9c91d5c61382639c06ca59e6cc2bfda6ba6abf18 (diff) | |
download | rneovim-0a049c322fda5f2bb124429086c2713ff99c7142.tar.gz rneovim-0a049c322fda5f2bb124429086c2713ff99c7142.tar.bz2 rneovim-0a049c322fda5f2bb124429086c2713ff99c7142.zip |
test: improve mapping tests and docs (#19619)
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 6dfb0b5791..c9505429c6 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -2218,9 +2218,7 @@ set({mode}, {lhs}, {rhs}, {opts}) *vim.keymap.set()* create mapping on multiple modes. {lhs} (string) Left-hand side |{lhs}| of the mapping. {rhs} string|function Right-hand side |{rhs}| of the - mapping. Can also be a Lua function. If a Lua - function and `opts.expr == true`, returning `nil` - is equivalent to an empty string. + mapping. Can also be a Lua function. {opts} (table) A table of |:map-arguments| such as "silent". In addition to the options listed in |nvim_set_keymap()|, this table also accepts the |