We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d14eb commit f88734bCopy full SHA for f88734b
lua/orgmode/notifications/init.lua
@@ -53,7 +53,7 @@ function Notifications:notify(time)
53
for _, task in ipairs(tasks) do
54
utils.concat(result, {
55
string.format('# %s (%s)', task.category, task.humanized_duration),
56
- string.format('%s %s %s', string.rep('*', task.level), task.todo, task.title),
+ string.format('%s %s %s', string.rep('*', task.level), task.todo or '', task.title),
57
string.format('%s: <%s>', task.type, task.time:to_string()),
58
})
59
end
@@ -77,7 +77,7 @@ end
77
function Notifications:_cron_notifier(tasks)
78
79
local title = string.format('%s (%s)', task.category, task.humanized_duration)
80
- local subtitle = string.format('%s %s %s', string.rep('*', task.level), task.todo, task.title)
+ local subtitle = string.format('%s %s %s', string.rep('*', task.level), task.todo or '', task.title)
81
local date = string.format('%s: %s', task.type, task.time:to_string())
82
83
if vim.fn.executable('notify-send') == 1 then
0 commit comments