plugins.lsp.servers.rust-analyzer.settings
The settings for this LSP.
Type: attribute set of anything
Default:
{ }
Example:
{
callback = {
__raw = ''
function()
print('nixvim')
end
'';
};
foo_bar = 42;
hostname = "localhost:8080";
}
Declared by:
plugins.lsp.servers.rust-analyzer.settings.checkOnSave
Run the check command for diagnostics on save.
default:
true
Type: null or boolean
Default:
null
Declared by:
plugins.lsp.servers.rust-analyzer.settings.linkedProjects
Disable project auto-discovery in favor of explicitly specified set of projects.
Elements must be paths pointing to Cargo.toml
,
rust-project.json
, .rs
files (which will be treated as standalone files) or JSON
objects in rust-project.json
format.
default:
[ ]
Type: null or (list of (string or attribute set of anything))
Default:
null
Declared by:
plugins.lsp.servers.rust-analyzer.settings.numThreads
How many worker threads in the main loop. The default null
means to pick automatically.
default:
null
Type: null or null or signed integer
Default:
null
Declared by: