feat: add daily note options for obsidian

This commit is contained in:
AmanSe 2023-07-20 22:19:27 +05:30
commit f8a46d68a7
No known key found for this signature in database
2 changed files with 25 additions and 0 deletions

View file

@ -23,6 +23,18 @@ in {
if (auto.type == "nvim-cmp")
then "true"
else "false"
}
},
daily_notes = {
folder = ${
if (cfg.daily-notes.folder == "")
then "nil,"
else "'${cfg.daily-notes.folder}',"
}
date_format = ${
if (cfg.daily-notes.date-format == "")
then "nil,"
else "'${cfg.daily-notes.date-format}',"
}
}
})