You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
Is your feature request related to a problem? Please describe.
My statusline has three sections. I like to have a couple of different indicators in the middle of my statusline, but only showing one at a time. My middle section defaults to showing nvim-gps (haven't had time to switch to nvim-navic yet), but for instance, whenever I have a snippet active it shows <> snippet in the middle. With the new macro provider I would now like for it to show the macro provider whenever it is active. Remember, I only want one to be displayed at a time and would therefore like for them to be prioritized in this order: macro > snippet > gps.
I think this idea would be useful to more people that have a lot of components in their statusline that don't necessarily need to be displayed simultaneously.
Describe the solution you'd like
A component stack. An example of how this could be implemented is to allow the component field provider to be a table of components. Feline goes through the table left to right and evaluates its enabled, and the first one that is true is drawn. All other components are not drawn.
Describe alternatives you've considered
My current solution is just an ugly hack. I tried to properly implement a stack myself in my config but it quickly became quite complicated.