I'm doing some development using leptos. There are some recommended options for rust-analyzer in its book:
+13
packetmix/homes/minion/helix.nix
+13
packetmix/homes/minion/helix.nix
···
15
"ui.virtual.whitespace" = "surface0"; # The default catppuccin_latte theme displays rendered whitespace way too harshly...
16
};
17
};
18
+
19
+
languages = {
20
+
language = [
21
+
{
22
+
name = "rust";
23
+
}
24
+
];
25
+
language-server.rust-analyzer.config = {
26
+
cargo.allFeatures = true;
27
+
diagnostics.disabled = [ "proc-macro-disabled" ];
28
+
procMacro.ignored.leptos_macro = [ "server" ];
29
+
};
30
+
};
31
};
32
}