fix: Use layout config for supported layouts

This commit is contained in:
Fabio Lenherr / DashieTM 2023-11-23 20:59:04 +01:00
parent 0a963e92c8
commit a78598a2a1
3 changed files with 325 additions and 21 deletions

View file

@ -18,9 +18,11 @@ return {
defaults = {
layout_strategy = "flex",
layout_config = {
height = 0.95,
width = 0.95,
flip_columns = 100,
flex = {
height = 0.95,
width = 0.95,
flip_columns = 100,
},
vertical = { preview_height = 0.5, preview_cutoff = 5 },
horizontal = { preview_width = 0.7, preview_cutoff = 99 },
},