feat: minor cleanups
This commit is contained in:
parent
84d9af2e36
commit
004e0d3e9a
4 changed files with 51 additions and 47 deletions
|
|
@ -154,12 +154,16 @@ return {
|
|||
before = function()
|
||||
vim.g.pending = {
|
||||
debug = true,
|
||||
-- TODO: use date formats/personal rice
|
||||
data_path = (os.getenv('XDG_STATE_HOME') or (os.getenv('HOME') .. '/.local/state')) .. '/nvim/pending/tasks.json',
|
||||
date_format = '%d/%m/%y',
|
||||
date_syntax = 'd',
|
||||
recur_syntax = 'r',
|
||||
input_date_formats = { '%d/%m/%Y', '%d/%m/%y' },
|
||||
drawer_height = vim.o.lines,
|
||||
}
|
||||
end,
|
||||
cmd = 'Pending',
|
||||
keys = { { '<leader>P', '<cmd>Pending<cr>' } },
|
||||
keys = { { '<leader>P', '<cmd>Pending|only<cr>' } },
|
||||
},
|
||||
{
|
||||
'barrettruth/cp.nvim',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue