Expose H.default_content_active and H.default_content_inactive in mini.statusline. #2094
-
Contributing guidelines
Module(s)mini.statusline QuestionHi echasnovki! Is it possible to expose H.default_content_active and H.default_content_inactive from mini.statusline. The thing is I would like to append a new section and because of that I will have to hardcode the entire default_content_active in mini.statusline and tweak my config. Any changes to default_content_active like adding new sections, and I have to keep track of them manually. So is it possible to expose these functions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
It is possible, of course, but I don't think it is a good idea. Exposing it would only allow appending and prepending content to it, not inserting inside of it. Manually building own content (starting with default one) is indeed a suggestion. There is no obligation to keep track of default content if the one you have is enough for you. |
Beta Was this translation helpful? Give feedback.
It is possible, of course, but I don't think it is a good idea. Exposing it would only allow appending and prepending content to it, not inserting inside of it. Manually building own content (starting with default one) is indeed a suggestion. There is no obligation to keep track of default content if the one you have is enough for you.