Skip to content

feat: add g:tabs_vim_mode_style enum to control mode display strategy#10

Merged
jesse23 merged 2 commits into
devfrom
feat/configurable-colors
Apr 4, 2026
Merged

feat: add g:tabs_vim_mode_style enum to control mode display strategy#10
jesse23 merged 2 commits into
devfrom
feat/configurable-colors

Conversation

@jesse23
Copy link
Copy Markdown
Owner

@jesse23 jesse23 commented Apr 4, 2026

Summary

  • Adds g:tabs_vim_mode_style option with three values: all (default), tabs (hide mode pill), mode (fixed selected-tab color via tabline_sel)
  • Implements TabsVim_ModeStyle() helper; TabsVim_Line() branches on style for both selected-tab highlight and pill visibility
  • Documents the decision in ADR-003 and updates the SPEC with the Mode Style Contract section and feature table entry

Test plan

  • Default (all): mode pill visible, selected-tab color changes with mode — matches prior behavior
  • tabs: no mode pill; selected-tab color still changes with mode
  • mode: mode pill visible; selected-tab color stays fixed to tabline_sel regardless of mode
  • Unknown value (e.g. 'bad') falls back to all

jesse23 and others added 2 commits April 4, 2026 15:04
Implements ADR-003: users can now choose between `all` (default), `tabs`
(hide mode pill), or `mode` (fixed selected-tab color) via
`g:tabs_vim_mode_style`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…erence

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jesse23 jesse23 merged commit 19f407b into dev Apr 4, 2026
@jesse23 jesse23 deleted the feat/configurable-colors branch April 4, 2026 19:32
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