plugins.rust-tools.enable

Whether to enable rust tools plugins.

Type: boolean

Default: false

Example: true

Declared by:

plugins.rust-tools.package

The rust-tools package to use.

Type: package

Default: pkgs.vimPlugins.rust-tools-nvim

Declared by:

plugins.rust-tools.executor

how to execute terminal commands

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

Default: null

Plugin default: "termopen"

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”

Type: null or lua function string

Default: null

Plugin default: null

Declared by:

plugins.rust-tools.reloadWorkspaceFromCargoToml

Automatically call RustReloadWorkspace when writing to a Cargo.toml file.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.rust-tools.serverPackage

The rust-analyzer package to use.

Type: null or package

Default: pkgs.rust-analyzer

Declared by: