Files
dotfiles/nvim/.config/nvim/lua/overseer/template/user/cargo_clean.lua

23 lines
402 B
Lua

return {
name = "Cargo Clean",
builder = function()
local file = vim.fn.expand("%:p")
return {
cmd = {
"cargo"
},
args = {
"clean",
},
components = {
"default"
}
}
end,
condition = {
filetype = {
"rust",
}
}
}