This commit is contained in:
2025-02-27 22:52:23 +01:00
parent abe52b2b66
commit 1280e1fc20
8 changed files with 178 additions and 62 deletions

View File

@@ -6,7 +6,11 @@ language-servers = ["rust-analyzer", "tailwindcss-ls"]
# procMacro = { ignored = { leptos_macro = ["server"] } }
cargo = { features = ["ssr", "hydrate"] }
check = { command = "clippy" }
rustfmt = { overrideCommand = ["leptosfmt", "--stdin", "--rustfmt"] }
rustfmt = { overrideCommand = [
"sh",
"-c",
"rustfmt --emit stdout --edition 2024 | leptosfmt --stdin",
] }
[language-server.tailwindcss-ls]
config = { userLanguages = { rust = "html", "*.rs" = "html" } }