Removed absolute links and clean up

This commit is contained in:
2025-08-29 13:59:32 +02:00
parent e085a5cc23
commit 36afaec832
3 changed files with 3 additions and 25 deletions

View File

@@ -25,19 +25,6 @@ end
function M.mark_done()
if not is_todo_file() then return end
--local line = vim.api.nvim_get_current_line():match("^%s*(.-)%s*$")
--local tasks = vim.fn.systemlist("todo.sh list")
--for _, task in ipairs(tasks) do
-- --
-- local num,_, desc = task:match("^(%d+)%s(?:%(%S%)%s+)?(.+)$")
-- if desc == line then
-- id = num
-- break
-- end
--end
print("Marked todo as done! (just deleted)")
vim.cmd("normal! dd")
end