Add overseer cargo jobs
This commit is contained in:
24
nvim/.config/nvim/lua/overseer/template/user/cargo_test.lua
Normal file
24
nvim/.config/nvim/lua/overseer/template/user/cargo_test.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
return {
|
||||
name = "Cargog Test",
|
||||
builder = function()
|
||||
return {
|
||||
cmd = {
|
||||
"cargo"
|
||||
},
|
||||
args = {
|
||||
"test",
|
||||
},
|
||||
components = {
|
||||
{
|
||||
"on_output_quickfix"
|
||||
},
|
||||
"default"
|
||||
}
|
||||
}
|
||||
end,
|
||||
condition = {
|
||||
filetype = {
|
||||
"rust",
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user