Skip to content

Commit a52e20a

Browse files
authored
fix: Change defaults to match README (#277)
cb7dc21 improved the defaults for overseer, but omitted to set actually set on_new_task to the value stated in the README.
1 parent 53bc526 commit a52e20a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lua/cmake-tools/const.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ local const = {
5454
"terminal",
5555
},
5656
}, -- options to pass into the `overseer.new_task` command
57-
on_new_task = function(task) end, -- a function that gets overseer.Task when it is created, before calling `task:start`
57+
on_new_task = function(task)
58+
require("overseer").open({ enter = false, direction = "right" })
59+
end, -- a function that gets overseer.Task when it is created, before calling `task:start`
5860
},
5961
terminal = {
6062
name = "Executor Terminal",

0 commit comments

Comments
 (0)