Skip to content

feat(helix): paint the statusline and bufferline like heirline - #27

Merged
hyperb1iss merged 1 commit into
mainfrom
nova/helix-statusline
Sep 16, 2026
Merged

hyperb1iss merged 1 commit into
mainfrom
nova/helix-statusline

Conversation

@hyperb1iss

@hyperb1iss hyperb1iss commented Sep 15, 2026

Copy link
Copy Markdown
Owner

The Helix statusline and bufferline now follow the same status contract heirline uses in AstroNvim (contrib/astronvim.lua), so a Helix session sits next to a Neovim session without the bar looking like a different theme. Sections move from pure bg_dark onto bg_highlight with the page foreground, the mode block takes purple, pink or cyan for normal, insert or select (previously purple, green and pink) with the page color as text, and the unfocused bar drops to bg_dark. The bufferline mirrors the heirline tabline: the active buffer in bold purple on the editor background, the rest muted on the section surface.

The change is in the template in lua/silkcircuit/extra/helix.lua; the five extras/helix themes are regenerated from it. The dotfiles side that lays the bar out (hyperb1iss/dotfiles#16) is opened alongside.

🧪 Validation

make build regenerated the five themes; only the statusline and bufferline scopes differ from the previous output. Helix 25.07.1 loaded silkcircuit-glow from the regenerated file in a pty with no theme warning in helix.log, and rendered the mode block in normal, insert and select mode plus the bufferline with two buffers open. stylua --check and selene pass on the template.

The pre-commit hooks for stylua and selene call mise x --, which is not installed on this machine, so the commit skipped those two hooks after running both tools directly. Logged as a sidequest to give the hooks the same fallback scripts/build already has.

🤖 Generated with Claude Code

The Helix bar now follows the AstroNvim status contract in
contrib/astronvim.lua: sections on bg_highlight with the page foreground,
the mode block in purple, pink or cyan for normal, insert or select with
the page colour as text, and the unfocused bar dropping to bg_dark. The
bufferline mirrors the heirline tabline, active buffer in bold purple on
the editor background and the rest muted on the section surface.

Regenerated the five extras/helix themes from the template.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@hyperb1iss
hyperb1iss merged commit f22148a into main Sep 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant