refactor(config): change default category from Inbox to Todo
This commit is contained in:
parent
fc4a47a1ec
commit
4c8944c5ee
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ local M = {}
|
|||
local defaults = {
|
||||
data_path = vim.fn.stdpath('data') .. '/pending/tasks.json',
|
||||
default_view = 'category',
|
||||
default_category = 'Inbox',
|
||||
default_category = 'Todo',
|
||||
date_format = '%b %d',
|
||||
date_syntax = 'due',
|
||||
category_order = {},
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ describe('store', function()
|
|||
assert.are.equal(1, t1.id)
|
||||
assert.are.equal(2, t2.id)
|
||||
assert.are.equal('pending', t1.status)
|
||||
assert.are.equal('Inbox', t1.category)
|
||||
assert.are.equal('Todo', t1.category)
|
||||
end)
|
||||
|
||||
it('uses provided category', function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue