1
0
Fork 0
forked from foxora/nix

added leptosfmt

This commit is contained in:
foxora 2026-04-05 18:13:35 +01:00
parent 4321b6f6c3
commit c5416f0b92
2 changed files with 18 additions and 1 deletions

View file

@ -65,6 +65,9 @@ in {
lsp = [cargo mpkgs.rust-analyzer];
# nightly rustfmt has nicer features :3
format = [(rustfmt.override {asNightly = true;})];
formatters = {
leptos = [leptosfmt];
};
};
zig = {
lsp = [zls];
@ -278,6 +281,9 @@ in {
rust.lsp = true;
rust.format = true;
rust.formatters = {
leptos = true;
};
zig.lsp = true;
zig.format = true;