mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
815d9a4a53
commit
4d0d855dbb
1 changed files with 2 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ DELETING KEYMAPS *snacks.nvim-keymap-usage-deleting-keymaps*
|
|||
---@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.
|
||||
<
|
||||
|
||||
>lua
|
||||
|
|
@ -131,6 +132,7 @@ DELETING KEYMAPS *snacks.nvim-keymap-usage-deleting-keymaps*
|
|||
---@field lhs string Left-hand side |{lhs}| of the mapping.
|
||||
---@field rhs string|function Right-hand side |{rhs}| of the mapping, can be a Lua function.
|
||||
---@field opts? snacks.keymap.set.Opts
|
||||
---@field enabled fun(buf?:number): boolean
|
||||
<
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue