X-Git-Url: https://git.r.bdr.sh/rbdr/nota.nvim/blobdiff_plain/503d09fc95a47c13141d097cf80dd243d1dce342..2cc29448a37001cf90b22d089ab992e93afdd71f:/plugin/nota.lua diff --git a/plugin/nota.lua b/plugin/nota.lua index 9c6e419..d34a7be 100644 --- a/plugin/nota.lua +++ b/plugin/nota.lua @@ -75,7 +75,7 @@ command('NotaTagTask', function() require('tasks').tag() end, { nargs = 0 }) command('NotaRescheduleTaskToday', function() require('tasks').reschedule_for_today() end, { nargs = 0 }) command('NotaRescheduleTaskTomorrow', function() require('tasks').reschedule_for_tomorrow() end, { nargs = 0 }) command('NotaRescheduleTaskSomeday', function() require('tasks').reschedule_for_someday() end, { nargs = 0 }) -command('NotaRescheduleTask', function(options) require('tasks').reschedule(options.args) end, { nargs = 1 }) +command('NotaRescheduleTask', function(options) require('tasks').reschedule(options.args) end, { nargs = '?' }) -- .plan Handling Commands command('NotaOpenPlan', function() require('plan').open() end, { nargs = 0 })