Skip to content

Commit

Permalink
fix: Change defaults to match README
Browse files Browse the repository at this point in the history
cb7dc21 improved the defaults for overseer, but omitted to set
actually set on_new_task to the value stated in the README.
  • Loading branch information
Osse committed Nov 22, 2024
1 parent 53bc526 commit 1341026
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lua/cmake-tools/const.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ local const = {
"terminal",
},
}, -- options to pass into the `overseer.new_task` command
on_new_task = function(task) end, -- a function that gets overseer.Task when it is created, before calling `task:start`
on_new_task = function(task)
require("overseer").open(
{ enter = false, direction = "right" }
)
end, -- a function that gets overseer.Task when it is created, before calling `task:start`
},
terminal = {
name = "Executor Terminal",
Expand Down

0 comments on commit 1341026

Please sign in to comment.