added more editor color keys

This commit is contained in:
2026-02-02 23:14:32 +03:00
parent 3277873d0c
commit b5f3507b6e
13 changed files with 1565 additions and 543 deletions

View File

@@ -21,21 +21,72 @@ base0F = '#B0AFA8FF'
border = '#3F3639FF'
border_focused = '#E1C135FF'
cursor = '#E1C135FF'
# Editor - Basic
editor_background = '#151515FF'
editor_command = '#CEB34FFF'
editor_comment = '#7A7A7AFF'
editor_disabled = '#3F3639FF'
editor_emphasis = '#DC7671FF'
editor_error = '#B44242FF'
editor_inactive = '#3F3639FF'
editor_line_number = '#86596CFF'
editor_link = '#60928FFF'
editor_main = '#C2C2B0FF'
editor_selected = '#3F3639FF'
editor_foreground = '#C2C2B0FF'
editor_line_highlight = '#1C1C1CFF'
editor_selection = '#3F3639FF'
editor_selection_inactive = '#2A2A2AFF'
editor_cursor = '#E1C135FF'
editor_whitespace = '#3F3639FF'
# Editor - Gutter
editor_gutter_background = '#151515FF'
editor_gutter_foreground = '#7A7A7AFF'
editor_line_number = '#86596CFF'
editor_line_number_active = '#C2C2B0FF'
# Editor - Syntax
editor_comment = '#7A7A7AFF'
editor_string = '#76C39BFF'
editor_success = '#95A328FF'
editor_number = '#DC7671FF'
editor_boolean = '#DC7671FF'
editor_keyword = '#CEB34FFF'
editor_operator = '#C2C2B0FF'
editor_function = '#95A328FF'
editor_variable = '#C2C2B0FF'
editor_parameter = '#60928FFF'
editor_property = '#76C39BFF'
editor_constant = '#DC7671FF'
editor_type = '#60928FFF'
editor_class = '#60928FFF'
editor_interface = '#60928FFF'
editor_enum = '#60928FFF'
editor_namespace = '#86596CFF'
editor_attribute = '#E1C135FF'
editor_decorator = '#E1C135FF'
editor_tag = '#B44242FF'
editor_punctuation = '#B0AFA8FF'
editor_link = '#60928FFF'
editor_regex = '#CEB34FFF'
editor_escape_character = '#DC7671FF'
# Editor - Diagnostics
editor_invalid = '#B44242FF'
editor_error = '#B44242FF'
editor_error_background = '#2A1515FF'
editor_warning = '#E1C135FF'
editor_warning_background = '#2A2515FF'
editor_info = '#60928FFF'
editor_info_background = '#15252AFF'
editor_hint = '#95A328FF'
editor_hint_background = '#1A2A15FF'
# Editor - UI Elements
editor_active_line_border = '#3F3639FF'
editor_indent_guide = '#2A2A2AFF'
editor_indent_guide_active = '#3F3639FF'
editor_bracket_match = '#E1C135FF'
editor_search_match = '#E1C13580'
editor_search_match_active = '#E1C135FF'
editor_find_range_highlight = '#E1C13540'
# Editor - Diff
editor_deleted = '#B44242FF'
editor_inserted = '#95A328FF'
editor_modified = '#E1C135FF'
editor_ignored = '#7A7A7AFF'
editor_folded_background = '#1C1C1CFF'
error = '#B44242FF'
foreground = '#C2C2B0FF'
info = '#60928FFF'

View File

@@ -21,21 +21,72 @@ base0F = '#ECEFF4FF'
border = '#4C566AFF'
border_focused = '#88C0D0FF'
cursor = '#D8DEE9FF'
# Editor - Basic
editor_background = '#2E3440FF'
editor_command = '#81A1C1FF'
editor_comment = '#616E88FF'
editor_disabled = '#4C566AFF'
editor_emphasis = '#B48EADFF'
editor_error = '#BF616AFF'
editor_inactive = '#616E88FF'
editor_line_number = '#4C566AFF'
editor_link = '#88C0D0FF'
editor_main = '#D8DEE9FF'
editor_selected = '#434C5EFF'
editor_foreground = '#D8DEE9FF'
editor_line_highlight = '#3B4252FF'
editor_selection = '#434C5EFF'
editor_selection_inactive = '#3B4252FF'
editor_cursor = '#D8DEE9FF'
editor_whitespace = '#4C566AFF'
# Editor - Gutter
editor_gutter_background = '#2E3440FF'
editor_gutter_foreground = '#4C566AFF'
editor_line_number = '#4C566AFF'
editor_line_number_active = '#D8DEE9FF'
# Editor - Syntax
editor_comment = '#616E88FF'
editor_string = '#A3BE8CFF'
editor_success = '#A3BE8CFF'
editor_number = '#B48EADFF'
editor_boolean = '#B48EADFF'
editor_keyword = '#81A1C1FF'
editor_operator = '#D8DEE9FF'
editor_function = '#88C0D0FF'
editor_variable = '#D8DEE9FF'
editor_parameter = '#D8DEE9FF'
editor_property = '#8FBCBBFF'
editor_constant = '#B48EADFF'
editor_type = '#8FBCBBFF'
editor_class = '#8FBCBBFF'
editor_interface = '#8FBCBBFF'
editor_enum = '#8FBCBBFF'
editor_namespace = '#5E81ACFF'
editor_attribute = '#D08770FF'
editor_decorator = '#D08770FF'
editor_tag = '#BF616AFF'
editor_punctuation = '#ECEFF4FF'
editor_link = '#88C0D0FF'
editor_regex = '#EBCB8BFF'
editor_escape_character = '#D08770FF'
# Editor - Diagnostics
editor_invalid = '#BF616AFF'
editor_error = '#BF616AFF'
editor_error_background = '#3B2E2EFF'
editor_warning = '#EBCB8BFF'
editor_warning_background = '#3B3B2EFF'
editor_info = '#5E81ACFF'
editor_info_background = '#2E3440FF'
editor_hint = '#A3BE8CFF'
editor_hint_background = '#2E3B2EFF'
# Editor - UI Elements
editor_active_line_border = '#4C566AFF'
editor_indent_guide = '#3B4252FF'
editor_indent_guide_active = '#4C566AFF'
editor_bracket_match = '#88C0D0FF'
editor_search_match = '#EBCB8B80'
editor_search_match_active = '#EBCB8BFF'
editor_find_range_highlight = '#EBCB8B40'
# Editor - Diff
editor_deleted = '#BF616AFF'
editor_inserted = '#A3BE8CFF'
editor_modified = '#EBCB8BFF'
editor_ignored = '#616E88FF'
editor_folded_background = '#3B4252FF'
error = '#BF616AFF'
foreground = '#D8DEE9FF'
info = '#5E81ACFF'

View File

@@ -21,21 +21,72 @@ base0F = '#4F4F48FF'
border = '#D0D0C8FF'
border_focused = '#C9A305FF'
cursor = '#C9A305FF'
# Editor - Basic
editor_background = '#F5F5F5FF'
editor_command = '#B89A1FFF'
editor_comment = '#A0A098FF'
editor_disabled = '#C0C0B8FF'
editor_emphasis = '#DC7671FF'
editor_error = '#B44242FF'
editor_inactive = '#A0A098FF'
editor_line_number = '#86596CFF'
editor_link = '#60928FFF'
editor_main = '#3D3D2FFF'
editor_selected = '#D0D0C8FF'
editor_foreground = '#3D3D2FFF'
editor_line_highlight = '#E8E8E8FF'
editor_selection = '#D0D0C8FF'
editor_selection_inactive = '#E0E0D8FF'
editor_cursor = '#C9A305FF'
editor_whitespace = '#C0C0B8FF'
# Editor - Gutter
editor_gutter_background = '#F5F5F5FF'
editor_gutter_foreground = '#A0A098FF'
editor_line_number = '#86596CFF'
editor_line_number_active = '#3D3D2FFF'
# Editor - Syntax
editor_comment = '#A0A098FF'
editor_string = '#5FA37BFF'
editor_success = '#95A328FF'
editor_number = '#DC7671FF'
editor_boolean = '#DC7671FF'
editor_keyword = '#B89A1FFF'
editor_operator = '#3D3D2FFF'
editor_function = '#95A328FF'
editor_variable = '#3D3D2FFF'
editor_parameter = '#60928FFF'
editor_property = '#5FA37BFF'
editor_constant = '#DC7671FF'
editor_type = '#60928FFF'
editor_class = '#60928FFF'
editor_interface = '#60928FFF'
editor_enum = '#60928FFF'
editor_namespace = '#86596CFF'
editor_attribute = '#C9A305FF'
editor_decorator = '#C9A305FF'
editor_tag = '#B44242FF'
editor_punctuation = '#4F4F48FF'
editor_link = '#60928FFF'
editor_regex = '#B89A1FFF'
editor_escape_character = '#DC7671FF'
# Editor - Diagnostics
editor_invalid = '#B44242FF'
editor_error = '#B44242FF'
editor_error_background = '#FFEDEDFF'
editor_warning = '#C9A305FF'
editor_warning_background = '#FFF8E0FF'
editor_info = '#60928FFF'
editor_info_background = '#E0F8FFFF'
editor_hint = '#95A328FF'
editor_hint_background = '#E8FFE8FF'
# Editor - UI Elements
editor_active_line_border = '#D0D0C8FF'
editor_indent_guide = '#E0E0D8FF'
editor_indent_guide_active = '#C0C0B8FF'
editor_bracket_match = '#C9A305FF'
editor_search_match = '#C9A30580'
editor_search_match_active = '#C9A305FF'
editor_find_range_highlight = '#C9A30540'
# Editor - Diff
editor_deleted = '#B44242FF'
editor_inserted = '#95A328FF'
editor_modified = '#C9A305FF'
editor_ignored = '#A0A098FF'
editor_folded_background = '#E8E8E8FF'
error = '#B44242FF'
foreground = '#3D3D2FFF'
info = '#60928FFF'

View File

@@ -3,91 +3,370 @@ vim.cmd("syntax reset")
vim.g.colors_name = "clrsync"
local palette = {
-- Editor colors
Default = "{editor_main.hex}",
Keyword = "{editor_command.hex}",
Number = "{editor_warning.hex}",
String = "{editor_string.hex}",
CharLiteral = "{editor_string.hex}",
Punctuation = "{editor_main.hex}",
Preprocessor = "{editor_emphasis.hex}",
Identifier = "{editor_main.hex}",
KnownIdentifier = "{editor_link.hex}",
PreprocIdentifier = "{editor_link.hex}",
-- General UI
bg = "{editor_background.hex}",
bg_alt = "{surface_variant.hex}",
fg = "{editor_foreground.hex}",
fg_alt = "{on_surface_variant.hex}",
grey = "{editor_line_number.hex}",
Comment = "{editor_comment.hex}",
MultiLineComment = "{editor_comment.hex}",
-- Accent / keyword colors
blue = "{editor_keyword.hex}",
cyan = "{editor_info.hex}",
violet = "{editor_link.hex}",
magenta = "{editor_parameter.hex}",
orange = "{editor_number.hex}",
yellow = "{editor_warning.hex}",
green = "{success.hex}",
red = "{error.hex}",
Background = "{editor_background.hex}",
Cursor = "{cursor.hex}",
-- Editor - Basic
cursor = "{cursor.hex}",
selection = "{editor_selection.hex}",
dark_blue = "{editor_selection.hex}",
line_highlight = "{editor_line_highlight.hex}",
Selection = "{editor_selected.hex}",
ErrorMarker = "{editor_error.hex}",
Breakpoint = "{editor_error.hex}",
-- Editor - Gutter
line_number = "{editor_line_number.hex}",
line_number_active = "{editor_line_number_active.hex}",
LineNumber = "{editor_line_number.hex}",
CurrentLineFill = "{surface_variant.hex}",
CurrentLineFillInactive = "{surface.hex}",
-- Editor - Syntax
comment = "{editor_comment.hex}",
string = "{editor_string.hex}",
number = "{editor_number.hex}",
boolean = "{editor_boolean.hex}",
keyword = "{editor_keyword.hex}",
operator = "{editor_operator.hex}",
function_ = "{editor_function.hex}",
variable = "{editor_variable.hex}",
parameter = "{editor_parameter.hex}",
property = "{editor_property.hex}",
constant = "{editor_constant.hex}",
type_ = "{editor_type.hex}",
tag = "{editor_tag.hex}",
punctuation = "{editor_punctuation.hex}",
link = "{editor_link.hex}",
regex = "{editor_regex.hex}",
attribute = "{editor_attribute.hex}",
decorator = "{editor_decorator.hex}",
escape_char = "{editor_escape_character.hex}",
CurrentLineEdge = "{border_focused.hex}",
-- Semantic colors
Success = "{success.hex}",
Warning = "{warning.hex}",
Error = "{error.hex}",
Info = "{info.hex}",
-- Editor - UI
border = "{border_focused.hex}",
indent_guide = "{editor_indent_guide.hex}",
search_match = "{editor_search_match.hex}",
search_match_active = "{editor_search_match_active.hex}",
bracket_match = "{editor_bracket_match.hex}",
whitespace = "{editor_whitespace.hex}",
-- Editor - Diagnostics
error_fg = "{editor_error.hex}",
warning_fg = "{editor_warning.hex}",
info_fg = "{editor_info.hex}",
hint_fg = "{editor_hint.hex}",
-- Editor - Diff
diff_add = "{editor_inserted.hex}",
diff_change = "{editor_modified.hex}",
diff_delete = "{editor_deleted.hex}",
-- Semantic
success = "{success.hex}",
warning = "{warning.hex}",
error = "{error.hex}",
info = "{info.hex}",
-- Base (terminal / muted)
base0 = "{background.hex}",
base1 = "{surface.hex}",
base2 = "{surface_variant.hex}",
base3 = "{border.hex}",
base4 = "{editor_line_number.hex}",
base5 = "{editor_comment.hex}",
base6 = "{editor_line_number.hex}",
base7 = "{on_surface_variant.hex}",
base8 = "{foreground.hex}",
}
-- Helper function to set highlights in Neovim
local function set_hl(group, opts)
vim.api.nvim_set_hl(0, group, opts)
end
vim.o.winborder = "rounded"
-- Basic editor highlights using the mapped palette
set_hl("Normal", { fg = palette.Default, bg = palette.Background })
set_hl("CursorLine", { bg = palette.CurrentLineFill })
set_hl("Visual", { bg = palette.Selection })
set_hl("LineNr", { fg = palette.LineNumber })
set_hl("CursorLineNr", { fg = palette.Keyword })
--- General UI
set_hl("Normal", { bg = palette.bg, fg = palette.fg })
set_hl("NormalFloat", { bg = palette.bg, fg = palette.fg })
set_hl("NormalBorder", { bg = palette.bg, fg = palette.fg })
set_hl("EndOfBuffer", { bg = palette.bg, fg = palette.bg })
-- Syntax highlights
set_hl("Comment", { fg = palette.Comment, italic = true })
set_hl("Constant", { fg = palette.Number })
set_hl("String", { fg = palette.String })
set_hl("Character", { fg = palette.CharLiteral })
set_hl("Identifier", { fg = palette.Identifier })
set_hl("Function", { fg = palette.Keyword })
set_hl("Statement", { fg = palette.Keyword })
set_hl("PreProc", { fg = palette.Preprocessor })
set_hl("Type", { fg = palette.Keyword })
set_hl("Special", { fg = palette.PreprocIdentifier })
set_hl("Underlined", { fg = palette.KnownIdentifier })
set_hl("Error", { fg = palette.ErrorMarker, bg = palette.Background })
set_hl("Todo", { fg = palette.Default, bg = palette.Keyword })
set_hl("Visual", { bg = palette.dark_blue })
set_hl("VisualBold", { bg = palette.dark_blue, bold = true })
-- Floating windows
set_hl("NormalFloat", { bg = palette.Background })
set_hl("FloatBorder", { fg = palette.CurrentLineEdge, bg = palette.Background })
set_hl("LineNr", { bg = palette.bg, fg = palette.grey })
set_hl("Cursor", { bg = palette.blue })
set_hl("CursorLine", { bg = palette.bg_alt })
set_hl("CursorLineNr", { bg = palette.bg_alt, fg = palette.fg })
set_hl("CursorColumn", { bg = palette.bg_alt })
-- Completion menu
set_hl("Pmenu", { bg = palette.Background })
set_hl("PmenuSel", { bg = palette.Keyword, fg = palette.Background })
set_hl("Folded", { bg = palette.bg_alt, fg = palette.base5 })
set_hl("FoldColumn", { bg = palette.bg, fg = palette.fg_alt })
set_hl("SignColumn", { bg = palette.bg })
set_hl("ColorColumn", { bg = palette.bg_alt })
-- Git and diagnostic highlights
set_hl("DiffAdd", { fg = palette.Success, bg = palette.Background })
set_hl("DiffChange", { fg = palette.Keyword, bg = palette.Background })
set_hl("DiffDelete", { fg = palette.ErrorMarker, bg = palette.Background })
set_hl("DiagnosticError", { fg = palette.Error })
set_hl("DiagnosticWarn", { fg = palette.Warning })
set_hl("DiagnosticInfo", { fg = palette.Info })
set_hl("DiagnosticHint", { fg = palette.PreprocIdentifier })
set_hl("IndentGuide", { fg = palette.indent_guide })
set_hl("IndentGuideEven", { link = "IndentGuide" })
set_hl("IndentGuideOdd", { link = "IndentGuide" })
-- Treesitter links
set_hl("TermCursor", { fg = palette.fg, reverse = true })
set_hl("TermCursorNC", { fg = palette.fg_alt, reverse = true })
set_hl("TermNormal", { link = "Normal" })
set_hl("TermNormalNC", { link = "TermNormal" })
set_hl("WildMenu", { bg = palette.dark_blue, fg = palette.fg })
set_hl("Separator", { fg = palette.fg_alt })
set_hl("VertSplit", { bg = palette.bg, fg = palette.grey })
set_hl("TabLine", { bg = palette.bg_alt, fg = palette.base7, bold = true })
set_hl("TabLineSel", { bg = palette.bg, fg = palette.blue, bold = true })
set_hl("TabLineFill", { bg = palette.base1, bold = true })
set_hl("StatusLine", { bg = palette.base3, fg = palette.base8 })
set_hl("StatusLineNC", { bg = palette.bg_alt, fg = palette.base6 })
set_hl("StatusLinePart", { bg = palette.bg_alt, fg = palette.base6, bold = true })
set_hl("StatusLinePartNC", { link = "StatusLinePart" })
set_hl("Pmenu", { bg = palette.bg_alt, fg = palette.fg })
set_hl("PmenuSel", { bg = palette.blue, fg = palette.base0 })
set_hl("PmenuSelBold", { bg = palette.blue, fg = palette.base0, bold = true })
set_hl("PmenuSbar", { bg = palette.bg_alt })
set_hl("PmenuThumb", { bg = palette.grey })
set_hl("FloatBorder", { fg = palette.border, bg = palette.bg })
--- Search, Highlight, Conceal
set_hl("Search", { bg = palette.dark_blue, fg = palette.fg })
set_hl("Substitute", { fg = palette.red, bold = true, strikethrough = true })
set_hl("IncSearch", { bg = palette.yellow, fg = palette.bg, bold = true })
set_hl("IncSearchCursor", { reverse = true })
set_hl("Conceal", { fg = palette.grey })
set_hl("SpecialKey", { fg = palette.violet, bold = true })
set_hl("NonText", { fg = palette.fg_alt, bold = true })
set_hl("MatchParen", { fg = palette.red, bold = true })
set_hl("Whitespace", { fg = palette.whitespace })
set_hl("Highlight", { bg = palette.bg_alt })
set_hl("HighlightSubtle", { link = "Highlight" })
set_hl("Question", { fg = palette.green, bold = true })
set_hl("File", { fg = palette.fg })
set_hl("Directory", { fg = palette.violet, bold = true })
set_hl("Title", { fg = palette.violet, bold = true })
set_hl("Bold", { bold = true })
set_hl("Emphasis", { italic = true })
--- Messages
set_hl("Msg", { fg = palette.green })
set_hl("MoreMsg", { fg = palette.blue })
set_hl("WarningMsg", { fg = palette.yellow })
set_hl("Error", { fg = palette.red })
set_hl("ErrorMsg", { fg = palette.red })
set_hl("ModeMsg", { fg = palette.violet })
set_hl("Todo", { fg = palette.yellow, bold = true })
set_hl("healthError", { link = "ErrorMsg" })
set_hl("healthSuccess", { link = "Msg" })
set_hl("healthWarning", { link = "WarningMsg" })
--- Syntax
set_hl("Tag", { fg = palette.cyan, bold = true })
set_hl("Link", { fg = palette.green, underline = true })
set_hl("URL", { link = "Link" })
set_hl("Underlined", { fg = palette.cyan, underline = true })
set_hl("Comment", { fg = palette.comment, italic = true })
set_hl("CommentBold", { fg = palette.comment, bold = true })
set_hl("SpecialComment", { fg = palette.base7, bold = true })
set_hl("Macro", { fg = palette.violet })
set_hl("Define", { fg = palette.violet, bold = true })
set_hl("Include", { fg = palette.violet, bold = true })
set_hl("PreProc", { fg = palette.violet, bold = true })
set_hl("PreCondit", { fg = palette.violet, bold = true })
set_hl("Label", { fg = palette.blue })
set_hl("Repeat", { fg = palette.blue })
set_hl("Keyword", { fg = palette.blue })
set_hl("Operator", { fg = palette.operator })
set_hl("Delimiter", { fg = palette.blue })
set_hl("Statement", { fg = palette.blue })
set_hl("Exception", { fg = palette.blue })
set_hl("Conditional", { fg = palette.blue })
set_hl("Variable", { fg = palette.variable })
set_hl("VariableBuiltin", { fg = palette.magenta, bold = true })
set_hl("Constant", { fg = palette.violet, bold = true })
set_hl("Number", { fg = palette.orange })
set_hl("Float", { link = "Number" })
set_hl("Boolean", { fg = palette.orange, bold = true })
set_hl("Enum", { fg = palette.orange })
set_hl("Character", { fg = palette.violet, bold = true })
set_hl("SpecialChar", { fg = palette.violet, bold = true })
set_hl("String", { fg = palette.green })
set_hl("StringDelimiter", { link = "String" })
set_hl("Special", { fg = palette.violet })
set_hl("SpecialBold", { fg = palette.violet, bold = true })
set_hl("Field", { fg = palette.violet })
set_hl("Argument", { fg = palette.parameter })
set_hl("Attribute", { fg = palette.attribute })
set_hl("Identifier", { fg = palette.variable })
set_hl("Property", { fg = palette.property })
set_hl("Function", { fg = palette.function_ })
set_hl("FunctionBuiltin", { fg = palette.function_, bold = true })
set_hl("KeywordFunction", { fg = palette.blue, bold = true })
set_hl("Method", { fg = palette.function_ })
set_hl("Type", { fg = palette.type_ })
set_hl("Typedef", { fg = palette.blue })
set_hl("TypeBuiltin", { fg = palette.type_, bold = true })
set_hl("Class", { fg = palette.blue })
set_hl("StorageClass", { fg = palette.blue })
set_hl("Structure", { fg = palette.blue })
set_hl("Regexp", { fg = palette.regex })
set_hl("RegexpSpecial", { fg = palette.regex })
set_hl("RegexpDelimiter", { fg = palette.regex, bold = true })
set_hl("RegexpKey", { fg = palette.regex, bold = true })
set_hl("CommentURL", { link = "URL" })
set_hl("CommentLabel", { link = "CommentBold" })
set_hl("CommentSection", { link = "CommentBold" })
set_hl("Noise", { link = "Comment" })
--- Diff
set_hl("DiffAddedGutter", { fg = palette.green, bold = true })
set_hl("DiffModifiedGutter", { fg = palette.orange, bold = true })
set_hl("DiffRemovedGutter", { fg = palette.red, bold = true })
set_hl("DiffAdd", { link = "DiffAddedGutter" })
set_hl("DiffChange", { link = "DiffModifiedGutter" })
set_hl("DiffDelete", { link = "DiffRemovedGutter" })
set_hl("diffAdded", { fg = palette.green, bg = palette.bg_alt })
set_hl("diffChanged", { fg = palette.violet })
set_hl("diffRemoved", { fg = palette.red, bg = palette.base3 })
set_hl("diffLine", { fg = palette.violet })
set_hl("diffIndexLine", { fg = palette.cyan })
set_hl("diffSubname", { fg = palette.cyan })
set_hl("diffFile", { fg = palette.cyan })
set_hl("diffOldFile", { fg = palette.blue })
set_hl("diffNewFile", { fg = palette.blue })
--- Markdown
set_hl("markdownCode", { link = "Comment" })
set_hl("markdownCodeBlock", { link = "markdownCode" })
set_hl("markdownH1", { bold = true })
set_hl("markdownH2", { bold = true })
set_hl("markdownLinkText", { underline = true })
--- LSP / Diagnostics
set_hl("LspHighlight", { bg = palette.bg_alt, bold = true })
set_hl("LspSignatureActiveParameter", { fg = palette.violet })
set_hl("DiagnosticError", { fg = palette.error })
set_hl("DiagnosticWarn", { fg = palette.warning })
set_hl("DiagnosticInfo", { fg = palette.info })
set_hl("DiagnosticHint", { fg = palette.hint_fg })
set_hl("DiagnosticFloatingError", { link = "ErrorMsg" })
set_hl("DiagnosticFloatingWarn", { link = "WarningMsg" })
set_hl("DiagnosticFloatingInfo", { link = "MoreMsg" })
set_hl("DiagnosticFloatingHint", { link = "Msg" })
set_hl("DiagnosticDefaultError", { link = "ErrorMsg" })
set_hl("DiagnosticDefaultWarn", { link = "WarningMsg" })
set_hl("DiagnosticDefaultInfo", { link = "MoreMsg" })
set_hl("DiagnosticDefaultHint", { link = "Msg" })
set_hl("DiagnosticVirtualTextError", { link = "ErrorMsg" })
set_hl("DiagnosticVirtualTextWarn", { link = "WarningMsg" })
set_hl("DiagnosticVirtualTextInfo", { link = "MoreMsg" })
set_hl("DiagnosticVirtualTextHint", { link = "Msg" })
set_hl("DiagnosticSignError", { link = "ErrorMsg" })
set_hl("DiagnosticSignWarning", { link = "WarningMsg" })
set_hl("DiagnosticSignInformation", { link = "MoreMsg" })
set_hl("DiagnosticSignHint", { link = "Msg" })
set_hl("LspReferenceText", { link = "LspHighlight" })
set_hl("LspReferenceRead", { link = "LspHighlight" })
set_hl("LspReferenceWrite", { link = "LspHighlight" })
--- Tree-Sitter
set_hl("@annotation", { link = "PreProc" })
set_hl("@attribute", { link = "Attribute" })
set_hl("@conditional", { link = "Conditional" })
set_hl("@comment", { link = "Comment" })
set_hl("@string", { fg = palette.String })
set_hl("@function", { fg = palette.Keyword })
set_hl("@variable", { fg = palette.Identifier })
set_hl("@keyword", { fg = palette.Keyword })
set_hl("@type", { fg = palette.Preprocessor })
set_hl("@constructor", { link = "Structure" })
set_hl("@constant", { link = "Constant" })
set_hl("@constant.builtin", { link = "Constant" })
set_hl("@constant.macro", { link = "Macro" })
set_hl("@error", { link = "Error" })
set_hl("@exception", { link = "Exception" })
set_hl("@field", { link = "Field" })
set_hl("@float", { link = "Float" })
set_hl("@function", { link = "Function" })
set_hl("@function.builtin", { link = "FunctionBuiltin" })
set_hl("@function.macro", { link = "Macro" })
set_hl("@include", { link = "Include" })
set_hl("@keyword", { link = "Keyword" })
set_hl("@keyword.function", { link = "KeywordFunction" })
set_hl("@label", { link = "Label" })
set_hl("@math", { link = "Special" })
set_hl("@method", { link = "Method" })
set_hl("@namespace", { link = "Directory" })
set_hl("@number", { link = "Number" })
set_hl("@boolean", { link = "Boolean" })
set_hl("@operator", { link = "Operator" })
set_hl("@parameter", { link = "Argument" })
set_hl("@parameter.reference", { link = "Argument" })
set_hl("@property", { link = "Property" })
set_hl("@punctuation.delimiter", { link = "Delimiter" })
set_hl("@punctuation.bracket", { link = "Delimiter" })
set_hl("@punctuation.special", { link = "Delimiter" })
set_hl("@repeat", { link = "Repeat" })
set_hl("@string", { link = "String" })
set_hl("@string.regex", { link = "StringDelimiter" })
set_hl("@string.escape", { link = "StringDelimiter" })
set_hl("@structure", { link = "Structure" })
set_hl("@tag", { link = "Tag" })
set_hl("@tag.attribute", { link = "Attribute" })
set_hl("@tag.delimiter", { link = "Delimiter" })
set_hl("@strong", { link = "Bold" })
set_hl("@uri", { link = "URL" })
set_hl("@warning", { link = "WarningMsg" })
set_hl("@danger", { link = "ErrorMsg" })
set_hl("@type", { link = "Type" })
set_hl("@type.builtin", { link = "TypeBuiltin" })
set_hl("@variable", { fg = palette.variable })
set_hl("@variable.builtin", { link = "VariableBuiltin" })
set_hl("@text", { link = "Normal" })
set_hl("@text.strong", { fg = palette.fg, bold = true })
set_hl("@text.emphasis", { link = "Emphasis" })
set_hl("@text.underline", { underline = true })
set_hl("@text.title", { link = "Title" })
set_hl("@text.uri", { link = "URL" })
set_hl("@text.note", { link = "MoreMsg" })
set_hl("@text.warning", { link = "WarningMsg" })
set_hl("@text.danger", { link = "ErrorMsg" })
set_hl("@todo", { link = "Todo" })
--- NetRW
set_hl("netrwClassify", { fg = palette.blue })
set_hl("netrwDir", { link = "Directory" })
set_hl("netrwExe", { fg = palette.green, bold = true })
set_hl("netrwMakefile", { fg = palette.yellow, bold = true })
set_hl("netrwTreeBar", { link = "Comment" })

File diff suppressed because it is too large Load Diff