added support to use overseer commands with odin projects

This commit was merged in pull request #4.
This commit is contained in:
2026-07-07 15:09:26 -06:00
parent e892db65cd
commit b95074d089
3 changed files with 60 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
return {
name = "odin: run",
desc = "Build and run (odin run .)",
condition = {
callback = function()
return vim.fn.glob("*.odin") ~= "" or vim.fn.expand("%:e") == "odin"
end,
},
builder = function()
return {
cmd = { "odin" },
args = { "run", "." },
components = {
"default",
"on_output_quickfix",
{ "on_complete_notify", statuses = { "SUCCESS", "FAILURE" } },
},
}
end,
}