@@ -0,0 +1,31 @@
|
||||
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",
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user