Skip to content

v0.2.2

Choose a tag to compare

@Zeioth Zeioth released this 13 Feb 22:53
· 257 commits to main since this release
a871337

This backwards compatible version add a couple new components for heirline opts.tabline.

New components

Component Description
tabline_conditional_padding A function to add padding to the tabine under certain conditions. The amount of padding is defined by the provider, which by default is self-caltulated based on the opened panel.
tabline_tabpages A function to build a visual component to display the available tabpages.
breadcrumbs_when_inactive This is a alternative version of the breadcrumbs component to show when the window is inactive. In order to work it must be the first component passed to opts.winbar.

New functions

It also adds the two new functions you must use in the configsection of lazy on heirline to or order for all components to work OK.

Function Description
hl.get_colors Use it to get the colors of heirline-components and pass them to heirline.load_colors(). Use it as require("heirline").load_colors(require("heirline-components.all").hl.get_colors()).
init.subscribe_to_events It register the events of heirline-components. Use it as require("heirline-components.all").init.subscribe_to_events()

Minor fixes

  • fixed a regression where clicking the X icon of a buffer wouldn't close the buffer correctly.

Other stuff

A few missing internal utils have been added.