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:
@@ -26,9 +26,9 @@ function M.apply_highlights()
|
|||||||
syntax = {
|
syntax = {
|
||||||
keyword = "#FF79C6",
|
keyword = "#FF79C6",
|
||||||
["function"] = "#50FA7B",
|
["function"] = "#50FA7B",
|
||||||
string = "#8BE9FD",
|
string = "#FFFFFF",
|
||||||
number = "#FFB86C",
|
number = "#FFB86C",
|
||||||
comment = "#8BE9FD",
|
comment = "#666666",
|
||||||
type = "#BD93F9",
|
type = "#BD93F9",
|
||||||
constant = "#FFB86C",
|
constant = "#FFB86C",
|
||||||
operator = "#FF79C6",
|
operator = "#FF79C6",
|
||||||
@@ -204,6 +204,11 @@ function M.apply_highlights()
|
|||||||
["@lsp.type.method"] = { fg = colors.syntax["function"], bold = true },
|
["@lsp.type.method"] = { fg = colors.syntax["function"], bold = true },
|
||||||
["@lsp.type.macro"] = { fg = colors.syntax.keyword, bold = true },
|
["@lsp.type.macro"] = { fg = colors.syntax.keyword, bold = true },
|
||||||
["@lsp.type.decorator"] = { fg = colors.syntax.property, 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
|
for group, settings in pairs(groups) do
|
||||||
|
|||||||
Reference in New Issue
Block a user