27 lines
510 B
Nix
27 lines
510 B
Nix
{ ... }:
|
|
{
|
|
programs.nixvim.plugins.rustaceanvim = {
|
|
enable = true;
|
|
settings = {
|
|
tools.enable_clippy = true;
|
|
server = {
|
|
default_settings = {
|
|
inlayHints = {
|
|
lifetimeElisionHints = {
|
|
enable = "always";
|
|
};
|
|
};
|
|
rust-analyzer = {
|
|
cargo = {
|
|
allFeatures = true;
|
|
};
|
|
check = {
|
|
command = "clippy";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|