added: snippet to mark todotxt entry done with date

This commit is contained in:
quenousimporte 2023-11-29 12:10:07 +01:00
parent f48aff531a
commit 1282750746
1 changed files with 5 additions and 0 deletions

View File

@ -312,6 +312,11 @@ var snippets = [
hint: "Comment", hint: "Comment",
insert: "<!--\n\n-->", insert: "<!--\n\n-->",
cursor: -4 cursor: -4
},
{
command: "/done",
hint: "Mark todo entry done",
insert: "x " + (new Date).toISOString().substring(0, 10) + " "
}]; }];
function seteditorcontent(content, silent) function seteditorcontent(content, silent)