- Added `.zed/settings.json` to configure rust-analyzer with `leptosfmt`. - Created `rustfmt.toml` with max width 120 and comment wrapping settings. - Applied consistent formatting across all modified crates using rustfmt. - Reorganized import statements and improved code style in multiple modules.
11 lines
238 B
JSON
11 lines
238 B
JSON
{
|
|
"lsp": {
|
|
"rust-analyzer": {
|
|
"initialization_options": {
|
|
"rustfmt": {
|
|
"overrideCommand": ["leptosfmt", "--stdin", "--rustfmt"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|