folke / edgy.nvim

Easily create and manage predefined window layouts, bringing a new edge to your workflow
Apache License 2.0
783 stars 14 forks source link

feat: allow configuring window size with functions #39

Closed willothy closed 1 year ago

willothy commented 1 year ago

I wanted to equalize the height of my DAP UI left sidebar window. The best way I could do this before was using an autocmd and modifying the config table, which seemed a bit hacky, so I added the ability to set edgebar / window sizes to functions that are called to compute the suggested size.

folke commented 1 year ago

thansk!