feat: more color to member variables

This commit is contained in:
2024-02-26 11:46:45 +01:00
parent 078b99fa17
commit db179859cc
2 changed files with 6 additions and 4 deletions

View File

@@ -95,7 +95,7 @@ return function(theme, palette)
["@operator"] = { link = "@keyword.operator" }, -- Deprecated?
["@parameter"] = { link = "@variable.parameter" }, -- Deprecated
["@preproc"] = { link = "PreProc" },
["@property"] = { link = "@field" },
["@property"] = { link = "@variable.member" },
["@punctuation.bracket"] = { link = "Identifier" },
["@punctuation.delimiter"] = { fg = palette.orange },
["@punctuation.special"] = { link = "Special" },
@@ -118,7 +118,7 @@ return function(theme, palette)
["@typeParameter"] = { fg = palette.yellow },
["@variable"] = { link = "Identifier" },
["@variable.builtin"] = { bold = true },
["@variable.member"] = { link = "Identifier" },
["@variable.member"] = theme.highlight,
["@variable.parameter"] = { fg = palette.fg_gradiant[2] },
-- LSP
@@ -137,7 +137,7 @@ return function(theme, palette)
["@lsp.type.namespace"] = { fg = palette.fg_gradiant[2] },
["@lsp.type.operator"] = { link = "Operator" },
["@lsp.type.parameter"] = { link = "@parameter" },
["@lsp.type.property"] = { link = "@property" },
["@lsp.type.property"] = { link = "@variable.member" },
["@lsp.type.selfTypeKeyword"] = { fg = palette.green, bold = true },
["@lsp.type.string"] = { link = "@string" },
["@lsp.type.struct"] = { link = "@struct" },
@@ -147,7 +147,7 @@ return function(theme, palette)
["@lsp.typemod.comment.documentation"] = { link = "@comment.documentation" },
["@lsp.typemod.derive.attribute"] = { fg = palette.blue },
["@lsp.typemod.method"] = { link = "@method" },
["@lsp.typemod.selfKeyword"] = { fg = palette.fg, bold = true },
["@lsp.typemod.selfKeyword"] = theme.highlight_bold,
["@lsp.typemod.string.attribute"] = { link = "String" }, -- Hmmmm
["@lsp.typemod.variable.readonly"] = { link = "Constant" },
}