From eb684d4ff4a86233276a0e1d58ccbbf0906f6724 Mon Sep 17 00:00:00 2001 From: Carlos Date: Sat, 2 Aug 2025 14:53:47 -0400 Subject: [PATCH] feat: improve color distinction for better readability - Change strings to vibrant white (#FFFFFF) for better visibility - Change comments to dark grey (#666666) to distinguish from strings - Add Copilot suggestion colors in gray (#999999) with italic style - Improve visual hierarchy: strings > comments > copilot suggestions - Ensure clear distinction between existing code and AI suggestions --- lua/cargdev-cyberpunk/init.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lua/cargdev-cyberpunk/init.lua b/lua/cargdev-cyberpunk/init.lua index 9ab1931..b6cb63b 100644 --- a/lua/cargdev-cyberpunk/init.lua +++ b/lua/cargdev-cyberpunk/init.lua @@ -26,9 +26,9 @@ function M.apply_highlights() syntax = { keyword = "#FF79C6", ["function"] = "#50FA7B", - string = "#8BE9FD", + string = "#FFFFFF", number = "#FFB86C", - comment = "#8BE9FD", + comment = "#666666", type = "#BD93F9", constant = "#FFB86C", operator = "#FF79C6", @@ -204,6 +204,11 @@ function M.apply_highlights() ["@lsp.type.method"] = { fg = colors.syntax["function"], bold = true }, ["@lsp.type.macro"] = { fg = colors.syntax.keyword, bold = true }, ["@lsp.type.decorator"] = { fg = colors.syntax.property, bold = true }, + + CopilotSuggestion = { fg = "#999999", italic = true }, + CopilotAnnotation = { fg = "#999999", italic = true }, + CopilotSuggestionPrefix = { fg = "#999999", italic = true }, + CopilotSuggestionSuffix = { fg = "#999999", italic = true }, } for group, settings in pairs(groups) do