feat: print config, for example in :OverseerInfo
matu3ba opened this issue · comments
Jan Ph. H. commented
Alternatively, provide a lua function with keyword print
, show
.
Context: I'm probably too stupid to apply the correct configuration, since
if not has_overseer then
vim.print("no overseer")
return
end
if not has_overseer_util then
vim.print("no overseer.util")
return
end
overseer.setup({
opts = {
component_aliases = {
default = {
{ "display_duration", detail_level = 2 },
"on_output_summarize",
"on_exit_set_status",
--"on_complete_notify",
--"on_complete_dispose", -- this should keep the task
},
-- Tasks from tasks.json use these components
default_vscode = {
"default",
"on_result_diagnostics",
"on_result_diagnostics_quickfix",
},
},
},
})
does not keep the tasks and they are getting disposed and I'm not sure why.
Steven Arcangeli commented
Take out the opts = {
.
If you want to see the values in the config, you can do :=require("overseer.config")