diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-24 06:57:54 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-24 06:57:54 +0800 |
| commit | dd6253ba8c37b51927ab4dc0e71f5b3a264f36b3 (patch) | |
| tree | 392a3d9981945a63e982746eb28d1877d8f52477 /.zed | |
| parent | d8bc9ff75e76992592b065c41d2e433c0de9b72c (diff) | |
Add editor configs for Rust with clippy on save
Diffstat (limited to '.zed')
| -rw-r--r-- | .zed/settings.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.zed/settings.json b/.zed/settings.json new file mode 100644 index 0000000..067be5a --- /dev/null +++ b/.zed/settings.json @@ -0,0 +1,10 @@ +{ + "lsp": { + "rust-analyzer": { + "initialization_options": { + "checkOnSave": true, + "check": { "command": "clippy" }, + }, + }, + }, +} |
