added leptosfmt
This commit is contained in:
parent
4321b6f6c3
commit
c5416f0b92
2 changed files with 18 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue