feat: smart position (#725)

This commit is contained in:
yetone
2024-10-15 17:12:10 +08:00
committed by GitHub
parent 8c28e285ea
commit 7c83558b37
2 changed files with 21 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ Respect and use existing conventions, libraries, etc that are already present in
},
},
windows = {
---@alias AvantePosition "right" | "left" | "top" | "bottom"
---@alias AvantePosition "right" | "left" | "top" | "bottom" | "smart"
position = "right",
wrap = true, -- similar to vim.o.wrap
width = 30, -- default % based on available width in vertical layout