test: more tests for nvim_{set,del}_keymap with abbreviation (#23970)

This commit is contained in:
zeertzjq
2023-06-10 10:44:31 +08:00
committed by GitHub
parent 7154f0c986
commit b6d2f49b45
4 changed files with 11 additions and 10 deletions

View File

@@ -1487,7 +1487,7 @@ nvim_set_keymap({mode}, {lhs}, {rhs}, {*opts}) *nvim_set_keymap()*
Parameters: ~
• {mode} Mode short-name (map command prefix: "n", "i", "v", "x", …) or
"!" for |:map!|, or empty string for |:map|. "ia", "ca" or
"!a" for abbreviation in insert mode, cmdline mode, or both,
"!a" for abbreviation in Insert mode, Cmdline mode, or both,
respectively
• {lhs} Left-hand-side |{lhs}| of the mapping.
• {rhs} Right-hand-side |{rhs}| of the mapping.

View File

@@ -82,7 +82,7 @@ The following new APIs or features were added.
• |vim.system()| for running system commands.
• |nvim_set_keymap()| now supports abbreviations.
• |nvim_set_keymap()| and |nvim_del_keymap()| now support abbreviations.
==============================================================================
CHANGED FEATURES *news-changed*