plugins.rustaceanvim.settings.tools.executor
The executor to use for runnables/debuggables.
Either an executor alias or an attrs with the execute_command
key.
Type: null or one of “termopen”, “quickfix”, “toggleterm”, “vimux”, “neotest” or (submodule)
Default:
null
Plugin default: "termopen"
Declared by:
plugins.rustaceanvim.settings.tools.executor.execute_command
fun(cmd:string,args:string[],cwd:string|nil,opts?:RustaceanExecutorOpts)
Example:
```lua
function(command, args, cwd, _)
require('toggleterm.terminal').Terminal
:new({
dir = cwd,
cmd = require('rustaceanvim.shell').make_command_from_args(command, args),
close_on_exit = false,
direction = 'vertical',
})
:toggle()
end
Type: null or lua code string
Default:
null