mirror of
https://github.com/neovim/neovim.git
synced 2026-04-19 22:10:45 +00:00
docs(lua): adds links to related keymap functions to keymap.set (#24337)
Might help with discovery, given that there is no `keymap.get()`
This commit is contained in:
committed by
GitHub
parent
516b173780
commit
a3f4598226
@@ -32,6 +32,9 @@ local keymap = {}
|
||||
--- - "remap": (boolean) Make the mapping recursive. Inverse of "noremap".
|
||||
--- Defaults to `false`.
|
||||
---@see |nvim_set_keymap()|
|
||||
---@see |maparg()|
|
||||
---@see |mapcheck()|
|
||||
---@see |mapset()|
|
||||
function keymap.set(mode, lhs, rhs, opts)
|
||||
vim.validate({
|
||||
mode = { mode, { 's', 't' } },
|
||||
|
||||
Reference in New Issue
Block a user