mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
style: annotations
This commit is contained in:
parent
17494ad9bf
commit
b0f5b74f4a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ end
|
|||
|
||||
--- Register a new window style config.
|
||||
---@param name string
|
||||
---@param defaults snacks.win.Config
|
||||
---@param defaults snacks.win.Config|{}
|
||||
function M.config.style(name, defaults)
|
||||
config.styles[name] = vim.tbl_deep_extend("force", vim.deepcopy(defaults), config.styles[name] or {})
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue