feat: minor cleanups

This commit is contained in:
Barrett Ruth 2026-03-07 21:46:53 -05:00
parent 84d9af2e36
commit 004e0d3e9a
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
4 changed files with 51 additions and 47 deletions

View file

@ -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',