-
Notifications
You must be signed in to change notification settings - Fork 4
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.
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> })
You can change the symbols displayed in the component in your config of the plugin aerial
-- Show only functions
filter_kind = {
"Function"
},