fix: keymap docs

This commit is contained in:
Folke Lemaitre 2025-10-26 14:57:03 +01:00
parent 4d0d855dbb
commit 583a0c1c06
No known key found for this signature in database
GPG key ID: 9B52594D560070AB

View file

@ -9,7 +9,7 @@ M.meta = {
---@class snacks.keymap.set.Opts: vim.keymap.set.Opts
---@field ft? string|string[] Filetype(s) to set the keymap for.
---@field lsp? vim.lsp.get_clients.Filter Set for buffers with LSP clients matching this filter.
---@field enabled? boolean|fun(buf?:number): boolean A function that returns a boolean indicating whether to set the keymap.
---@field enabled? boolean|fun(buf?:number): boolean condition to enable the keymap.
---@class snacks.keymap.del.Opts: vim.keymap.del.Opts
---@field buffer? boolean|number If true or 0, use the current buffer.