From 3c9a19b86372b7e2a36eac2d32f380d4427d1d26 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 21 Jul 2025 05:50:14 +0200 Subject: [PATCH] nvim/lua/user/plugins/ui/colorscheme.lua: todo comments --- nvim/lua/user/plugins/ui/colorscheme.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nvim/lua/user/plugins/ui/colorscheme.lua b/nvim/lua/user/plugins/ui/colorscheme.lua index 5ec18a5..379a09c 100644 --- a/nvim/lua/user/plugins/ui/colorscheme.lua +++ b/nvim/lua/user/plugins/ui/colorscheme.lua @@ -153,6 +153,14 @@ local custom_highlights = function(colors) RenderMarkdownCode = { 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 PreProc = { fg = colors.mauve }, Operator = { fg = colors.flamingo }, @@ -184,6 +192,13 @@ local custom_highlights = function(colors) ["@namespace"] = { link = "@keyword" }, ["@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.type.property"] = { link = "@variable" }, ["@lsp.type.namespace.go"] = { fg = colors.rosewater },