plugins.rustaceanvim.settings.tools.enable_clippy
Whether to enable clippy checks on save if a clippy installation is detected.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.rustaceanvim.settings.tools.enable_nextest
Whether to enable nextest.
If enabled, cargo test
commands will be transformed to cargo nextest run
commands.
Defaults to true
if cargo-nextest is detected.
Ignored if cargo_override
is set.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.rustaceanvim.settings.tools.cargo_override
Set this to override the ‘cargo’ command for runnables, debuggables (etc., e.g. to "cross"
).
If set, this takes precedence over enable_nextest
.
Type: null or string or raw lua code
Default:
null
Declared by:
plugins.rustaceanvim.settings.tools.crate_test_executor
The executor to use for runnables that are crate test suites (--all-targets
).
Either a test executor alias or an attrs with the execute_command
key.
Type: null or one of “termopen”, “quickfix”, “toggleterm”, “vimux”, “neotest”, “background” or (submodule)
Default:
null
Declared by:
plugins.rustaceanvim.settings.tools.executor
The executor to use for runnables/debuggables.
Either an executor alias or an attrs with the execute_command
key.
Plugin default: termopen
Type: null or one of “termopen”, “quickfix”, “toggleterm”, “vimux”, “neotest” or (submodule)
Default:
null
Declared by:
plugins.rustaceanvim.settings.tools.on_initialized
fun(health:RustAnalyzerInitializedStatus)
Function that is invoked when the LSP server has finished initializing.
Type: null or lua code string
Default:
null
Declared by:
plugins.rustaceanvim.settings.tools.open_url
If set, overrides how to open URLs.
fun(url:string):nil
Plugin default: require('rustaceanvim.os').open_url
Type: null or lua function string
Default:
null
Declared by:
plugins.rustaceanvim.settings.tools.reload_workspace_from_cargo_toml
Automatically call RustReloadWorkspace
when writing to a Cargo.toml
file.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.rustaceanvim.settings.tools.test_executor
The executor to use for runnables that are tests/testables
Either a test executor alias or an attrs with the execute_command
key.
Type: null or one of “termopen”, “quickfix”, “toggleterm”, “vimux”, “neotest”, “background” or (submodule)
Default:
null
Declared by: