plugins.rust-tools.enable

Whether to enable rust tools plugins.

Type: boolean

Default: false

Example: true

Declared by:

plugins.rust-tools.package

Which package to use for the rust-tools plugin.

Type: package

Default: <derivation vimplugin-rust-tools.nvim-2024-01-03>

Declared by:

plugins.rust-tools.executor

how to execute terminal commands

Plugin default: "termopen"

Type: null or one of “termopen”, “quickfix” or raw lua code

Default: null

Declared by:

plugins.rust-tools.extraOptions

These attributes will be added to the table parameter for the setup function. Typically, it can override NixVim’s default settings.

Type: attribute set of anything

Default: { }

Declared by:

plugins.rust-tools.onInitialized

Callback to execute once rust-analyzer is done initializing the workspace The callback receives one parameter indicating the health of the server: “ok” | “warning” | “error”

Plugin default: null

Type: null or lua function string

Default: null

Declared by:

plugins.rust-tools.reloadWorkspaceFromCargoToml

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.rust-tools.serverPackage

Which package to use for rust-analyzer. Set to null to disable its automatic installation.

Type: null or package

Default: <derivation rust-analyzer-2024-04-29>

Declared by: