adds some more highlights

This commit is contained in:
Dennis Schoepf 2025-11-07 13:26:18 +01:00
parent af23bf0ec7
commit 5d5f662b11
4 changed files with 14 additions and 26 deletions

View file

@ -69,7 +69,7 @@ hi("RedrawDebugComposed", { bg = palette.green_subtle_bg, ctermbg = "DarkGreen"
hi("RedrawDebugRecompose", { bg = palette.red_subtle_bg, ctermbg = "DarkRed" })
hi("Error", { link = "ErrorMsg" })
hi("NvimInternalError", { link = "ErrorMsg" })
hi("Todo", { fg = palette.bg, bg = palette.cyan_bright, ctermbg = "Cyan", ctermfg = "Black" })
hi("Todo", { fg = palette.blue_bright, bg = palette.blue_subtle_bg, ctermbg = "DarkBlue", ctermfg = "LightBlue" })
hi("String", { link = "Constant" })
hi("Character", { link = "Constant" })
@ -129,7 +129,7 @@ hi("SnippetTabstop", { link = "Visual" })
hi("SnippetTabstopActive", { link = "SnippetTabstop" })
-- Text
hi("@markup.raw", { link = "Comment" })
hi("@markup.raw", { link = "Special" })
hi("@markup.link", { link = "Identifier" })
hi("@markup.heading", { link = "Title" })
hi("@markup.heading.gitcommit", { bg = palette.bg, fg = palette.fg, bold = true })
@ -208,6 +208,7 @@ hi("@lsp.typemod.keyword.documentation", { fg = palette.grey, bold = true })
if vim.o.background == "light" then
-- TODO: Define light scheme
-- @todo: dksljfksdlf
else
-- Default colors only used with a dark background.
hi("ColorColumn", { bg = palette.red_subtle_bg, ctermbg = "DarkRed" })
@ -304,10 +305,6 @@ else
hi("FlashMatch", { reverse = true })
hi("FlashLabel", { bg = palette.fg, fg = palette.bg })
-- todo-comments
hi("TodoBgTODO", { link = "Todo" })
hi("TodoFgTODO", { fg = palette.cyan_bright, ctermfg = "Cyan" })
-- Neogit
hi("NeogitDiffAdd", { link = "DiffAdd" })
hi("NeogitDiffDelete", { link = "DiffDelete" })