feat(helix): paint the statusline and bufferline like heirline - #27
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 purebg_darkontobg_highlightwith 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 tobg_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 fiveextras/helixthemes are regenerated from it. The dotfiles side that lays the bar out (hyperb1iss/dotfiles#16) is opened alongside.🧪 Validation
make buildregenerated the five themes; only the statusline and bufferline scopes differ from the previous output. Helix 25.07.1 loadedsilkcircuit-glowfrom the regenerated file in a pty with no theme warning inhelix.log, and rendered the mode block in normal, insert and select mode plus the bufferline with two buffers open.stylua --checkandselenepass 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 fallbackscripts/buildalready has.🤖 Generated with Claude Code