From 4d0d855dbb458760744d189ac453cdf0236e2ba8 Mon Sep 17 00:00:00 2001 From: folke <292349+folke@users.noreply.github.com> Date: Sun, 26 Oct 2025 11:24:22 +0000 Subject: [PATCH] chore(build): auto-generate docs --- doc/snacks.nvim-keymap.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/snacks.nvim-keymap.txt b/doc/snacks.nvim-keymap.txt index 0ecb6487..3fd48d64 100644 --- a/doc/snacks.nvim-keymap.txt +++ b/doc/snacks.nvim-keymap.txt @@ -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 <