refactor(nvim): update kanagawa highlights
Upstream now supports new TS scopes as of 75be2b90c1
This commit is contained in:
parent
da46efc132
commit
cc360fc7ae
@ -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" })
|
||||
|
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user