From f3be42ef5d2d878755abee01f27e64ebf9dad63a Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 9 Jan 2025 00:27:05 -0600 Subject: [PATCH] feat(nvim): specify different highlight for cancelled org tasks --- users/price/dots/.config/nvim/lua/plugins/configs/kanagawa.lua | 1 + users/price/dots/.config/nvim/lua/plugins/configs/org-mode.lua | 3 +++ 2 files changed, 4 insertions(+) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/kanagawa.lua b/users/price/dots/.config/nvim/lua/plugins/configs/kanagawa.lua index 3ba98449..1145aad2 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/kanagawa.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/kanagawa.lua @@ -307,6 +307,7 @@ return { get_hl("@org.timestamp.inactive"), }, { "@org.keyword.done", { fg = colors.springGreen, bold = true, italic = true } }, + { "@org.keyword.face.cancelled", { fg = colors.waveRed, bold = true, italic = true } }, { "@org.keyword.todo", { fg = colors.samuraiRed, bold = true, italic = true } }, { "@org.priority.highest", diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/org-mode.lua b/users/price/dots/.config/nvim/lua/plugins/configs/org-mode.lua index 7685c943..cc66b6d2 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/org-mode.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/org-mode.lua @@ -77,6 +77,9 @@ return { org_startup_indented = false, org_adapt_indentation = false, org_todo_keywords = { "TODO(t)", "WAIT(n)", "|", "DONE(d)", "CANCELLED(c)" }, + org_todo_keyword_faces = { + CANCELLED = ':weight bold' + }, win_split_mode = "auto", org_capture_templates = { t = {