fix: reposition progress window if vim is resized

This commit is contained in:
Steven Arcangeli 2023-03-28 12:55:13 -07:00
parent 8cbb104e76
commit 092f4b1c7c
2 changed files with 57 additions and 5 deletions

View file

@ -97,6 +97,19 @@ local default_config = {
winblend = 0,
},
},
-- Configuration for the floating progress window
progress = {
max_width = 0.9,
min_width = { 40, 0.4 },
width = nil,
max_height = { 10, 0.9 },
min_height = { 5, 0.1 },
height = nil,
border = "rounded",
win_options = {
winblend = 0,
},
},
}
-- The adapter API hasn't really stabilized yet. We're not ready to advertise or encourage people to