echasnovski / mini.nvim

Library of 40+ independent Lua modules improving overall Neovim (version 0.8 and higher) experience with minimal effort
MIT License
4.74k stars 179 forks source link

Align individual sections in starter page #832

Closed prescientmoon closed 4 months ago

prescientmoon commented 4 months ago

Contributing guidelines

Module(s)

mini.starter

Description

It would be nice if there was a way to independently align the header, footer, and items sections to the center of the screen when using mini.starter. From the looks of it, the provided content hook aligns them together, which looks bad when used together with a wide header.

echasnovski commented 4 months ago

Thanks for the suggestion!

I don't think independently aligned header, items, and footer is visually appealing enough to add this functionality directly to 'mini.starter'. It already allows any freedom for users to modify the content of Starter buffer however they want with custom content_hooks.

I do admit that customization beyond provided built-in generators is somewhat tricky, but that was a conscious design decision to prioritize ease of setting item content over how they are displayed. So I will not provide an actual code solution for independent aligning.

Closing as not planned.