chore: fmt

This commit is contained in:
2025-03-04 11:08:19 +01:00
parent 0ca9d6b9c6
commit df90835aac
16 changed files with 81 additions and 41 deletions

View File

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