refactor(nvim): update kanagawa highlights

Upstream now supports new TS scopes as of 75be2b90c1
This commit is contained in:
Price Hiller 2024-02-12 15:51:49 -06:00
parent da46efc132
commit cc360fc7ae
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 1 additions and 24 deletions

View File

@ -78,7 +78,7 @@ return {
type = "text",
val = function()
if require("lazy.status").has_updates() then
vim.api.nvim_set_hl(0, "AlphaPluginUpdate", { link = "@exception" })
vim.api.nvim_set_hl(0, "AlphaPluginUpdate", { link = "@keyword.return" })
return "Plugin updates available!"
else
vim.api.nvim_set_hl(0, "AlphaPluginUpdate", { link = "@string" })

View File

@ -39,29 +39,6 @@ return {
vim.api.nvim_set_hl(0, "NvimNotifyTrace", { fg = colors.oniViolet })
local overrides = {
-- HACK: Placed here until kanagawa supports new TS colors in nightly
["@string.regexp"] = { link = "@string.regex" },
["@variable.parameter"] = { link = "@parameter" },
["@variable.member"] = { link = "@field" },
["@exception"] = { link = "@exception" },
["@string.special.symbol"] = { link = "@symbol" },
["@markup.strong"] = { link = "@text.strong" },
["@markup.italic"] = { link = "@text.emphasis" },
["@markup.heading"] = { link = "@text.title" },
["@markup.raw"] = { link = "@text.literal" },
["@markup.quote"] = { link = "@text.quote" },
["@markup.math"] = { link = "@text.math" },
["@markup.environment"] = { link = "@text.environment" },
["@markup.environment.name"] = { link = "@text.environment.name" },
["@markup.link.url"] = { link = "Special" },
["@markup.link.label"] = { link = "Identifier" },
["@comment.note"] = { link = "@text.note" },
["@comment.warning"] = { link = "@text.warning" },
["@comment.danger"] = { link = "@text.danger" },
["@diff.plus"] = { link = "@text.diff.add" },
["@diff.minus"] = { link = "@text.diff.delete" },
["@field"] = { fg = colors.carpYellow },
CursorLineNr = { fg = colors.roninYellow, bg = palette.theme.ui.bg_p1 },
CursorLineFold = { fg = colors.crystalBlue, bg = palette.theme.ui.bg_p1 },
CursorLineSign = { bg = palette.theme.ui.bg_p1 },