Skip to content

Commit ec3bc50

Browse files
kristofkalceWolf
authored andcommitted
set the default options for the overseer cmake_runner strategy to be the same as for the cmake_executor
1 parent 24502ae commit ec3bc50

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lua/cmake-tools/const.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ local const = {
104104
},
105105
overseer = {
106106
new_task_opts = {
107-
strategy = {
108-
"terminal",
109-
},
107+
strategy = nil,
110108
}, -- options to pass into the `overseer.new_task` command
111-
on_new_task = function(task) end, -- a function that gets overseer.Task when it is created, before calling `task:start`
109+
on_new_task = function(task)
110+
require("overseer").open({ enter = false, direction = "right" })
111+
end, -- a function that gets overseer.Task when it is created, before calling `task:start`
112112
},
113113
vimux = {},
114114
terminal = {

0 commit comments

Comments
 (0)