feat: config for ui border

This commit is contained in:
Folke Lemaitre 2022-11-30 23:13:08 +01:00
parent fb96183753
commit 0cff878b2e
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 6 additions and 3 deletions

View file

@ -53,6 +53,7 @@ function M.show(mode)
local opts = {
relative = "editor",
style = "minimal",
border = Config.options.ui.border,
width = math.min(vim.o.columns - hpad * 2, 200),
height = math.min(vim.o.lines - vpad * 2, 70),
}