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
This commit is contained in:
Carlos
2025-08-02 14:53:47 -04:00
parent 0503a53caf
commit eb684d4ff4

View File

@@ -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