nvim/lua/plugins/taskwarrior.lua

19 lines
673 B
Lua
Raw Normal View History

local browser = function(report)
-- Return function to call taskwarrior browser with given report
return function() require("taskwarrior_nvim").browser { report } end
end
return {
2023-07-20 09:31:28 +01:00
"ColonQExclamationMark/taskwarrior.nvim",
branch = "1-Issues-initializing", -- Temp until PR is merged upstream
dependencies = { "nvim-telescope/telescope.nvim" },
cmd = "Task",
init = function()
vim.keymap.set("n", "<leader>tr", browser "ready")
vim.keymap.set("n", "<leader>ta", browser "active")
vim.keymap.set("n", "<leader>tn", browser "next")
end,
opts = {},
2023-07-20 09:31:28 +01:00
config = function() require("taskwarrior_nvim").setup() end,
}