adopt neovim 0.12 native editing features

This commit is contained in:
Ray Elliott 2026-10-28 15:43:13 +00:00
commit 282e5e0f0b
18 changed files with 125 additions and 215 deletions

View file

@ -1,5 +1,5 @@
-- Paper Tonic Modern - Plugin Highlight Groups
-- Highlights for configured plugins (Telescope, Gitsigns, cmp, etc.)
-- Highlights for configured plugins (Telescope, Gitsigns, etc.)
local c = require('paper-tonic-modern.colors')
@ -58,44 +58,6 @@ return {
GitSignsChangeInline = { bg = c.bg_hl_special },
GitSignsDeleteInline = { bg = c.bg_error_weak },
-- ============================================================================
-- nvim-cmp (completion menu)
-- ============================================================================
-- Menu
CmpItemAbbr = { fg = c.fg },
CmpItemAbbrMatch = { fg = c.primary, bold = true },
CmpItemAbbrMatchFuzzy = { fg = c.primary_weak },
CmpItemAbbrDeprecated = { fg = c.fg_weak, strikethrough = true },
CmpItemMenu = { fg = c.fg_weak, italic = true },
-- Kind icons/labels
CmpItemKindDefault = { fg = c.fg },
CmpItemKindVariable = { fg = c.fg },
CmpItemKindFunction = { fg = c.primary_weak },
CmpItemKindMethod = { fg = c.primary_weak },
CmpItemKindConstructor = { fg = c.primary },
CmpItemKindClass = { fg = c.primary_strong },
CmpItemKindInterface = { fg = c.primary_strong },
CmpItemKindStruct = { fg = c.primary_strong },
CmpItemKindProperty = { fg = c.fg_strong },
CmpItemKindField = { fg = c.fg_strong },
CmpItemKindEnum = { fg = c.primary },
CmpItemKindEnumMember = { fg = c.fg_strong },
CmpItemKindModule = { fg = c.primary },
CmpItemKindKeyword = { fg = c.primary_weak },
CmpItemKindSnippet = { fg = c.modified },
CmpItemKindText = { fg = c.fg },
CmpItemKindFile = { fg = c.fg },
CmpItemKindFolder = { fg = c.fg_strong },
CmpItemKindColor = { fg = c.diag_warn },
CmpItemKindUnit = { fg = c.fg_weak },
CmpItemKindValue = { fg = c.fg_strong },
CmpItemKindConstant = { fg = c.fg_strong },
CmpItemKindReference = { fg = c.modified },
CmpItemKindOperator = { fg = c.fg },
CmpItemKindTypeParameter = { fg = c.primary },
-- ============================================================================
-- Comment.nvim
-- ============================================================================