add plugin highlight groups to colourscheme

This commit is contained in:
Ray Elliott 2025-12-11 22:12:03 +00:00
commit e08ca2e42c
4 changed files with 265 additions and 19 deletions

View file

@ -412,14 +412,24 @@ Source of truth for the step-by-step rebuild. Keep this concise and up to date.
- [ ] Test with existing custom queries (after/queries/css/highlights.scm, after/queries/html/highlights.scm)
## Phase 11.8 — Plugin highlight groups
- [ ] Create `lua/paper-tonic-modern/groups/lsp.lua`
- [ ] Define LSP diagnostics: DiagnosticError, DiagnosticWarn, DiagnosticHint, DiagnosticInfo
- [ ] Define LSP UI: LspReferenceText, LspReferenceRead, LspReferenceWrite
- [ ] Create `lua/paper-tonic-modern/groups/plugins.lua`
- [ ] Add Telescope highlights (TelescopeNormal, TelescopeBorder, TelescopeSelection)
- [ ] Add Gitsigns highlights (GitSignsAdd, GitSignsChange, GitSignsDelete)
- [ ] Add nvim-cmp highlights (CmpItemKind*, CmpItemMenu, etc.)
- [ ] Add Oil.nvim highlights if needed
- [x] Create `lua/paper-tonic-modern/groups/lsp.lua`
- [x] Define LSP diagnostics: DiagnosticError, DiagnosticWarn, DiagnosticHint, DiagnosticInfo
- [x] Define LSP UI: LspReferenceText, LspReferenceRead, LspReferenceWrite
- [x] Create `lua/paper-tonic-modern/groups/plugins.lua`
- [x] Add Telescope highlights (TelescopeNormal, TelescopeBorder, TelescopeSelection)
- [x] Add Gitsigns highlights (GitSignsAdd, GitSignsChange, GitSignsDelete)
- [x] Add nvim-cmp highlights (CmpItemKind*, CmpItemMenu, etc.)
- [x] Add Oil.nvim highlights if needed
**Notes**:
- LSP diagnostics use red (error), orange (warn), blue (info), green (hint)
- LSP references use cyan backgrounds with varying intensity (text/read/write)
- LSP semantic tokens link to TreeSitter groups for consistency
- Telescope uses neutral colors with primary accent for matching and selection
- Gitsigns uses status colors: green (add), blue (change), red (delete)
- nvim-cmp uses primary tones for kinds, bold for matching text
- Oil.nvim uses bold for directories, status colors for permissions and operations
- indent-blankline and ufo use subtle grays for non-intrusive UI
## Phase 11.9 — Update plugin configuration
- [ ] Update `lua/plugins/colorscheme.lua` to use paper-tonic-modern