From 4bc507d1e9defbb7dfbe89337115cd2852d50638 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 9 Mar 2024 23:17:00 -0600 Subject: [PATCH] refactor(nvim): improve org timestamp highlights --- .../nvim/lua/plugins/configs/kanagawa.lua | 28 +++---------------- 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/kanagawa.lua b/dots/.config/nvim/lua/plugins/configs/kanagawa.lua index 66f0810e..18197bda 100644 --- a/dots/.config/nvim/lua/plugins/configs/kanagawa.lua +++ b/dots/.config/nvim/lua/plugins/configs/kanagawa.lua @@ -282,35 +282,15 @@ return { { "@org.italic.delimiter", get_hl("@markup.raw.delimiter", { italic = true }) }, { "@org.bold.delimiter", get_hl("@markup.raw.delimiter", { bold = true }) }, { "@org.strikethrough.delimiter", get_hl("@markup.raw.delimiter", { strikethrough = true }) }, - { "@org.timestamp", { underline = true, italic = false } }, - { "@org.timestamp.active", get_hl("@org.timestamp", { fg = colors.springViolet1 }) }, + { "@org.timestamp.active", { fg = colors.springViolet1, underline = true } }, { "@org.timestamp.active.delimiter", - { - fg = function() - return get_hl("@org.timestamp.active")().fg - end, - underline = false, - nocombine = true, - }, - }, - { - "@org.timestamp.inactive", - get_hl("@org.timestamp", { - fg = function() - return get_hl("@comment")().fg - end, - }), + get_hl("@org.timestamp.active", { underline = false, nocombine = true }), }, + { "@org.timestamp.inactive", { fg = colors.springViolet2 } }, { "@org.timestamp.inactive.delimiter", - { - fg = function() - return get_hl("@org.timestamp.inactive")().fg - end, - underline = false, - nocombine = true, - }, + get_hl("@org.timestamp.inactive"), }, { "@org.priority.highest",