fix: make goto_today() look for daily notes, not zettels

This commit is contained in:
lambtho12
2021-12-14 21:25:15 +01:00
parent f6d1055047
commit 8f58abed84

View File

@@ -1494,7 +1494,7 @@ local function GotoDate(opts)
find_files_sorted({ find_files_sorted({
prompt_title = "Goto day", prompt_title = "Goto day",
cwd = M.Cfg.home, cwd = M.Cfg.dailies,
default_text = word, default_text = word,
find_command = M.Cfg.find_command, find_command = M.Cfg.find_command,
attach_mappings = function(prompt_bufnr, map) attach_mappings = function(prompt_bufnr, map)