mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
37038df00d
commit
188b043705
3 changed files with 10 additions and 0 deletions
|
@ -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" },
|
||||
|
|
|
@ -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" },
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue