-
Just like in the title, is it possible to somehow rerun a task that is currently selected in task list sidebar? And if not then what is necessary to implement that? |
Beta Was this translation helpful? Give feedback.
Answered by
stevearc
Apr 11, 2023
Replies: 2 comments
-
Ok, so I've came up with the following code to create the command (I know it is bad as it uses private API, but hey, it works) vim.api.nvim_create_user_command("OverseerRestartTask", function()
local sidebar = require("overseer.task_list.sidebar").get()
local task = sidebar._get_task_from_line(sidebar)
if task then
task:restart()
end
end, {}) Would be nice if it was available by default. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can do |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Qizot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do
:OverseerQuickAction restart