mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
docs(win): document width/height behavior for win
This commit is contained in:
parent
edbd40aab4
commit
5ccf72e6d0
3 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ local M = setmetatable({}, {
|
|||
---@class snacks.win.Config: vim.api.keyset.win_config
|
||||
---@field style? string merges with config from `Snacks.config.styles[style]`
|
||||
---@field show? boolean Show the window immediately (default: true)
|
||||
---@field height? number Height of the window. Use <1 for relative height. 0 means full height. (default: 0.9)
|
||||
---@field width? number Width of the window. Use <1 for relative width. 0 means full width. (default: 0.9)
|
||||
---@field minimal? boolean Disable a bunch of options to make the window minimal (default: true)
|
||||
---@field position? "float"|"bottom"|"top"|"left"|"right"
|
||||
---@field buf? number If set, use this buffer instead of creating a new one
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue