2024-05-31 15:33:17 +00:00
|
|
|
return {
|
|
|
|
-- Simple task runner plugin
|
|
|
|
'stevearc/overseer.nvim',
|
|
|
|
opts = {},
|
|
|
|
config = function(_, opts)
|
2024-06-04 12:23:25 +00:00
|
|
|
local overseer = require 'overseer'
|
|
|
|
overseer.setup(opts or {})
|
2024-05-31 15:33:17 +00:00
|
|
|
|
|
|
|
-- Display status info about tasks
|
2024-06-04 12:23:25 +00:00
|
|
|
vim.keymap.set('n', '<leader>ol', function()
|
|
|
|
overseer.toggle { winid = 0 }
|
|
|
|
end, { desc = '[O]verseer [L]og' })
|
2024-05-31 15:33:17 +00:00
|
|
|
-- Run task by listing all in floating
|
|
|
|
vim.keymap.set('n', '<leader>or', '<cmd>OverseerRun<cr>', { desc = '[O]verseer [R]un' })
|
|
|
|
end,
|
|
|
|
}
|