32 lines
700 B
Lua
32 lines
700 B
Lua
require("custom.runner").setup({
|
|
commands = {
|
|
-- Bottom terminal (focused after exec)
|
|
-- run = function()
|
|
-- local command = require("custom.runner").command
|
|
-- command:add({
|
|
-- cmd = "make",
|
|
-- flags = { "run" },
|
|
-- })
|
|
-- command.target = { position = "bottom" }
|
|
-- command.focus = true
|
|
-- command:run()
|
|
-- end,
|
|
-- float-job (no target): executes in a float
|
|
-- debug = function()
|
|
-- local command = require("custom.runner").command
|
|
-- command:add({
|
|
-- cmd = "odin build .",
|
|
-- flags = { "-debug" },
|
|
-- })
|
|
-- command:run()
|
|
-- end,
|
|
},
|
|
-- additional excludes for snacks picker
|
|
exclude = {
|
|
"gen",
|
|
"*.png",
|
|
"go.mod",
|
|
"go.sum",
|
|
},
|
|
})
|