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",
|
type = "text",
|
||||||
val = function()
|
val = function()
|
||||||
if require("lazy.status").has_updates() then
|
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!"
|
return "Plugin updates available!"
|
||||||
else
|
else
|
||||||
vim.api.nvim_set_hl(0, "AlphaPluginUpdate", { link = "@string" })
|
vim.api.nvim_set_hl(0, "AlphaPluginUpdate", { link = "@string" })
|
||||||
|
@ -39,29 +39,6 @@ return {
|
|||||||
vim.api.nvim_set_hl(0, "NvimNotifyTrace", { fg = colors.oniViolet })
|
vim.api.nvim_set_hl(0, "NvimNotifyTrace", { fg = colors.oniViolet })
|
||||||
|
|
||||||
local overrides = {
|
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 },
|
CursorLineNr = { fg = colors.roninYellow, bg = palette.theme.ui.bg_p1 },
|
||||||
CursorLineFold = { fg = colors.crystalBlue, bg = palette.theme.ui.bg_p1 },
|
CursorLineFold = { fg = colors.crystalBlue, bg = palette.theme.ui.bg_p1 },
|
||||||
CursorLineSign = { bg = palette.theme.ui.bg_p1 },
|
CursorLineSign = { bg = palette.theme.ui.bg_p1 },
|
||||||
|
Loading…
Reference in New Issue
Block a user