aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api.gen.lua
diff options
context:
space:
mode:
authorBarrett Ruth <br@barrettruth.com>2026-07-25 10:26:01 -0700
committerBarrett Ruth <br@barrettruth.com>2026-07-25 10:36:56 -0700
commit22d44ef8754448294833fcbc197defaca355f3b5 (patch)
treec87aa5aa31b471dad36ffb2873f8dfcf308afc91 /runtime/lua/vim/_meta/api.gen.lua
parent1facf1e0818a15588deea4809292cd32cf362bed (diff)
downloadrneovim-22d44ef8754448294833fcbc197defaca355f3b5.tar.gz
rneovim-22d44ef8754448294833fcbc197defaca355f3b5.tar.bz2
rneovim-22d44ef8754448294833fcbc197defaca355f3b5.zip
fix(api): add `lhs` option for keymap deletion
Diffstat (limited to 'runtime/lua/vim/_meta/api.gen.lua')
-rw-r--r--runtime/lua/vim/_meta/api.gen.lua16
1 files changed, 10 insertions, 6 deletions
diff --git a/runtime/lua/vim/_meta/api.gen.lua b/runtime/lua/vim/_meta/api.gen.lua
index b001da83ff..2999a8cdff 100644
--- a/runtime/lua/vim/_meta/api.gen.lua
+++ b/runtime/lua/vim/_meta/api.gen.lua
@@ -333,9 +333,11 @@ function vim.api.nvim_buf_del_extmark(buf, ns_id, id) end
---
--- @see vim.api.nvim_del_keymap
--- @param buf integer Buffer id, or 0 for current buffer
---- @param mode string
---- @param lhs string
-function vim.api.nvim_buf_del_keymap(buf, mode, lhs) end
+--- @param mode string Mode short-name ("n", "i", "v", ...)
+--- @param lhs string Left-hand-side `{lhs}` of the mapping.
+--- @param opts vim.api.keyset.keymap_del? Optional parameters.
+--- - lhs: When true, only match {lhs}, not {rhs}.
+function vim.api.nvim_buf_del_keymap(buf, mode, lhs, opts) end
--- Deletes a named mark in the buffer. See `mark-motions`.
---
@@ -1069,9 +1071,11 @@ function vim.api.nvim_del_current_line() end
--- To unmap a buffer-local mapping, use `nvim_buf_del_keymap()`.
---
--- @see vim.api.nvim_set_keymap
---- @param mode string
---- @param lhs string
-function vim.api.nvim_del_keymap(mode, lhs) end
+--- @param mode string Mode short-name ("n", "i", "v", ...)
+--- @param lhs string Left-hand-side `{lhs}` of the mapping.
+--- @param opts vim.api.keyset.keymap_del? Optional parameters.
+--- - lhs: When true, only match {lhs}, not {rhs}.
+function vim.api.nvim_del_keymap(mode, lhs, opts) end
--- Deletes an uppercase/file named mark. See `mark-motions`.
---