diff --git a/lua/astrocommunity/code-runner/overseer-nvim/init.lua b/lua/astrocommunity/code-runner/overseer-nvim/init.lua index 6489abaa6..29977dab5 100644 --- a/lua/astrocommunity/code-runner/overseer-nvim/init.lua +++ b/lua/astrocommunity/code-runner/overseer-nvim/init.lua @@ -16,7 +16,25 @@ return { "OverseerTaskAction ", "OverseerClearCache", }, - opts = {}, + ---@param opts overseer.Config + opts = function(_, opts) + local astrocore = require "astrocore" + if astrocore.is_available "toggleterm.nvim" then opts.strategy = "toggleterm" end + opts.task_list = { + direction = "bottom", + bindings = { + [""] = false, + [""] = false, + [""] = false, + [""] = false, + q = "close", + K = "IncreaseDetail", + J = "DecreaseDetail", + [""] = "ScrollOutputUp", + [""] = "ScrollOutputDown", + }, + } + end, dependencies = { { "AstroNvim/astroui", opts = { icons = { Overseer = "" } } }, {