Skip to content

breadcrumbs

Zeioth edited this page Apr 3, 2024 · 6 revisions

You can add this component to the winbar section of heirline opts.

require("heirline-components.all").component.breadcrumbs()

It displays breadcrumbs indicating where the cursor currently is, symbol wise. screenshot_2024-02-23_20-51-06_960201177

Available providers

These are the available providers for this component and its options.

hl = hl.get_attributes("winbar", true),
padding = { left = 1 },
condition = condition.aerial_available,
update = "CursorMoved",

For example you could change the highlights

component.breadcrumbs({ hl = <your_highlights> })

More info

You can change the symbols displayed in the component in your config of the plugin aerial

-- Show only functions
filter_kind = {
  "Function"
},
Clone this wiki locally