Skip to content

fix: plugin owns TabLine* highlight groups; add vimrc integration boundary doc#8

Merged
jesse23 merged 1 commit into
devfrom
feat/configurable-colors
Apr 4, 2026
Merged

fix: plugin owns TabLine* highlight groups; add vimrc integration boundary doc#8
jesse23 merged 1 commit into
devfrom
feat/configurable-colors

Conversation

@jesse23
Copy link
Copy Markdown
Owner

@jesse23 jesse23 commented Apr 4, 2026

Summary

  • Plugin now fully owns the tab bar: TabLine, TabLineSel, TabLineFill highlight groups are applied by s:ApplyColors() alongside the existing TabsVim_* groups — no separate hi declarations needed in the user's vimrc
  • Three new keys in g:tabs_vim_colors: tabline, tabline_sel, tabline_fill (with Dracula defaults), overridable like all other color keys
  • Spec updated: expanded color config contract, new Vimrc Integration Boundary design pattern, completed features marked, Features table aligned to project template
  • ADR-002 updated to reflect the broader scope of g:tabs_vim_colors

Test plan

  • Source plugin and verify TabLine, TabLineSel, TabLineFill are set without any hi in vimrc
  • Override tabline/tabline_sel/tabline_fill via g:tabs_vim_colors and confirm they apply
  • Confirm existing mode color overrides still work

…ndary doc

- Add tabline/tabline_sel/tabline_fill keys to g:tabs_vim_colors with
  Dracula defaults so the plugin fully owns the tab bar appearance
- Apply TabLine, TabLineSel, TabLineFill hi groups in s:ApplyColors()
- Update spec and ADR-002 to document the expanded color config contract
- Add Vimrc Integration Boundary design pattern to spec
- Mark completed features in spec; align Features table to template format

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands tabs.vim theming so the plugin explicitly applies Vim’s standard TabLine* highlight groups in addition to its existing TabsVim_* groups, and updates the spec/ADR to document the broader g:tabs_vim_colors contract and a “vimrc integration boundary” pattern.

Changes:

  • Add tabline, tabline_sel, and tabline_fill keys (with Dracula defaults) to g:tabs_vim_colors, and apply them in s:ApplyColors().
  • Update the spec and ADR-002 to reflect the expanded color configuration surface and document the integration boundary pattern.
  • Refresh spec metadata and align the Features table format/statuses.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
skills-lock.json Updates computed hash for the local skill source.
plugin/tabs.vim Adds default colors + highlight application for TabLine, TabLineSel, TabLineFill.
docs/specs/tabs.vim.md Documents new color keys and adds “Vimrc Integration Boundary”; updates Features table.
docs/adrs/002.tabs-vim.themes.md Expands ADR scope from mode colors to all tab bar colors, including TabLine*.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread plugin/tabs.vim
Comment thread docs/specs/tabs.vim.md
Comment thread docs/adrs/002.tabs-vim.themes.md
@jesse23 jesse23 merged commit abe705b into dev Apr 4, 2026
4 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.

2 participants