From c32b238438a8f1130c89c13a2284961fe10e3e68 Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Sun, 24 Mar 2024 19:44:03 +0100 Subject: [PATCH] feat(todo_items): convert TODO item to "on hold" if all items are done but the rest are on hold (#1339) --- lua/neorg/modules/core/qol/todo_items/module.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/neorg/modules/core/qol/todo_items/module.lua b/lua/neorg/modules/core/qol/todo_items/module.lua index 44a600809..890cc7143 100644 --- a/lua/neorg/modules/core/qol/todo_items/module.lua +++ b/lua/neorg/modules/core/qol/todo_items/module.lua @@ -194,6 +194,8 @@ module.public = { if counts.uncertain > 0 and counts.done + counts.uncertain == counter then resulting_char = "=" + elseif counts.on_hold > 0 and counts.done + counts.on_hold + counts.uncertain == counter then + resulting_char = "=" elseif counts.pending > 0 then resulting_char = "-" elseif counter == counts.done then