mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2026-02-04 06:12:01 +00:00
Add Custom runner for rust
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user