1 files changed,
7 insertions(+),
0 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2025-09-07 20:46:58 +0300
Parent:
fd62565
M
lua/scratch/tasks.lua
@@ -50,6 +50,12 @@ return res
end ---@param str string +local function remove_note_link(str) + local res = str:gsub("%[%[(.-)%]%]", "[%1]") + return res +end + +---@param str string local function remove_next_tag(str) local res = str:gsub(" %#next", "") return res@@ -109,6 +115,7 @@ for fname, ftasks in pairs(agenda_tasks) do
for _, ftask in pairs(ftasks) do local task = remove_next_tag(ftask.text) task = remove_task_prefix(task) + task = remove_note_link(task) table.insert(output, { lnum = ftask.line,