AstroNvim / astroui

UI Configuration Engine built for AstroNvim
https://AstroNvim.com
GNU General Public License v3.0
19 stars 9 forks source link

feat(status): add a component to display sidebar titles #19

Closed loichyan closed 4 months ago

loichyan commented 4 months ago

📑 Description

Add a component to display sidebar titles.

With NeoTree opened:

Screenshot from 2024-04-29 13-38-32

With Aerial opened:

Screenshot from 2024-04-29 13-37-50

The original code is taken from: AstroNvim/AstroNvim/lua/astronvim/plugins/heirline.lua

mehalter commented 4 months ago

We aren't using this in internal AstroNvim and we try to keep our internal status API relatively minimal and leave it up to the user to implement more things. Also this doesn't fully capture the idea of "sidebars" since it will break down if there are multiple sidebars on the left open and also doesn't take into account the right sidebars. I don't think we want to put something like this as is in AstroUI. Thanks for the recommendation though! It would be a great thing to put in your user configuration!