chore(build): auto-generate docs

This commit is contained in:
folke 2024-12-15 19:21:51 +00:00 committed by github-actions[bot]
parent 37038df00d
commit 188b043705
3 changed files with 10 additions and 0 deletions

View file

@ -68,6 +68,10 @@ docs for more information on how to customize these styles
cursorline = false,
},
bo = { filetype = "snacks_input" },
--- buffer local variables
b = {
completion = false, -- disable blink completions in input
},
keys = {
i_esc = { "<esc>", { "cmp_close", "cancel" }, mode = "i" },
-- i_esc = { "<esc>", "stopinsert", mode = "i" },

View file

@ -114,6 +114,10 @@ The other options are used with `:lua Snacks.dashboard()`
cursorline = false,
},
bo = { filetype = "snacks_input" },
--- buffer local variables
b = {
completion = false, -- disable blink completions in input
},
keys = {
i_esc = { "<esc>", { "cmp_close", "cancel" }, mode = "i" },
-- i_esc = { "<esc>", "stopinsert", mode = "i" },

View file

@ -55,6 +55,8 @@ Snacks.win({
---@field backdrop? number|false|snacks.win.Backdrop Opacity of the backdrop (default: 60)
---@field wo? vim.wo|{} window options
---@field bo? vim.bo|{} buffer options
---@field b? table<string, any> buffer local variables
---@field w? table<string, any> window local variables
---@field ft? string filetype to use for treesitter/syntax highlighting. Won't override existing filetype
---@field keys? table<string, false|string|fun(self: snacks.win)|snacks.win.Keys> Key mappings
---@field on_buf? fun(self: snacks.win) Callback after opening the buffer