mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
fix: keymap docs
This commit is contained in:
parent
4d0d855dbb
commit
583a0c1c06
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue