mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2025-10-21 19:50:34 +00:00
Add Custom runner for rust
This commit is contained in:
parent
c7f90b5bba
commit
064847ec11
@ -16,6 +16,7 @@ return function(buffer)
|
|||||||
local handlers = {
|
local handlers = {
|
||||||
['Run main'] = helpers.shell_handler('cargo run'),
|
['Run main'] = helpers.shell_handler('cargo run'),
|
||||||
['Test'] = helpers.shell_handler('cargo test'),
|
['Test'] = helpers.shell_handler('cargo test'),
|
||||||
|
['Custom'] = helpers.shell_handler('cargo ', true),
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, bin in pairs(bins) do
|
for _, bin in pairs(bins) do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user