Skip to content

Add heirline component#226

Merged
Davidyz merged 5 commits into
mainfrom
feat/heirline
Jun 29, 2025
Merged

Add heirline component#226
Davidyz merged 5 commits into
mainfrom
feat/heirline

Conversation

@Davidyz

@Davidyz Davidyz commented Jun 29, 2025

Copy link
Copy Markdown
Owner

Closes #225 .

The heirline component is accessible via the following snippet:

require("vectorcode.integrations").heirline({ 
  show_job_count = true,
  component_opts = {
    -- put other field of the components here.
    -- they'll be merged into the final component.
  },
})

@Davidyz Davidyz added enhancement New feature or request feature labels Jun 29, 2025
@Davidyz

Davidyz commented Jun 29, 2025

Copy link
Copy Markdown
Owner Author

@Yorizel I reused the lualine component and made this very basic component. It works when I put it in statusline, but not for tabline. I'll see if I can fix this.

Also, I plan to put some other options (like hl) into the opts parameter for the function that builds the component. Is there anything specific that you'd like to see from it?

EDIT: The tabline thing was a config problem on my side. It's working for tabline too.

@codecov

codecov Bot commented Jun 29, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.75%. Comparing base (03a7020) to head (8ceff82).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #226   +/-   ##
=======================================
  Coverage   99.75%   99.75%           
=======================================
  Files          21       21           
  Lines        1627     1627           
=======================================
  Hits         1623     1623           
  Misses          4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Davidyz
Davidyz marked this pull request as ready for review June 29, 2025 04:52
@Yorizel

Yorizel commented Jun 29, 2025

Copy link
Copy Markdown

Nothing specific tbh, just the Abílio to integrate with my current heirline is awesome

@Davidyz
Davidyz merged commit e73bb48 into main Jun 29, 2025
@Davidyz
Davidyz deleted the feat/heirline branch June 29, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] heirline integrations

2 participants