1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

nvim/lua/user/plugins/ui/colorscheme.lua: todo comments

This commit is contained in:
Henrik Hautakoski 2025-07-21 05:50:14 +02:00
parent 8715f65c86
commit 3c9a19b863

View file

@ -153,6 +153,14 @@ local custom_highlights = function(colors)
RenderMarkdownCode = { bg = colors.crust }, RenderMarkdownCode = { bg = colors.crust },
RenderMarkdownCodeInline = { fg = colors.rosewater, bg = colors.crust }, RenderMarkdownCodeInline = { fg = colors.rosewater, bg = colors.crust },
-- todo comments
TodoCommentsDefault = { fg = colors.flamingo },
TodoCommentsInfo = { fg = colors.blue },
TodoCommentsError = { fg = colors.maroon },
TodoCommentsWarning = { fg = colors.peach },
TodoCommentsHint = { fg = colors.sapphire },
TodoCommentsTest = { fg = colors.pink },
-- Syntax -- Syntax
PreProc = { fg = colors.mauve }, PreProc = { fg = colors.mauve },
Operator = { fg = colors.flamingo }, Operator = { fg = colors.flamingo },
@ -184,6 +192,13 @@ local custom_highlights = function(colors)
["@namespace"] = { link = "@keyword" }, ["@namespace"] = { link = "@keyword" },
["@punctuation.bracket"] = { link = "@punctuation" }, ["@punctuation.bracket"] = { link = "@punctuation" },
-- Comments
["@punctuation.delimiter.comment"] = { link = "@Comment"},
["@comment.error"] = { link = "@Comment" },
["@comment.warning"] = { link = "@Comment" },
["@comment.todo"] = { link = "@Comment" },
["@comment.note.comment"] = { link = "@Comment" },
-- LSP -- LSP
["@lsp.type.property"] = { link = "@variable" }, ["@lsp.type.property"] = { link = "@variable" },
["@lsp.type.namespace.go"] = { fg = colors.rosewater }, ["@lsp.type.namespace.go"] = { fg = colors.rosewater },