feat: add zed configuration (#1537)

* feat: add zed configuration

* feat: update linguist info
This commit is contained in:
Myriad-Dreamin 2025-03-19 12:58:21 +08:00 committed by GitHub
parent c8c891fbc3
commit 5ebc7224e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 0 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
.zed/settings.json linguist-language=json5

22
.zed/settings.json Normal file
View file

@ -0,0 +1,22 @@
// Folder-specific settings
//
// For a full list of overridable settings, and general information on folder-specific settings,
// see the documentation: https://zed.dev/docs/configuring-zed#settings-files
{
"lsp": {
"rust-analyzer": {
"initialization_options": {
"checkOnSave": {
"command": "clippy"
}
}
},
"tinymist": {
"initialization_options": {
"exportPdf": "onSave",
"fontPaths": ["assets/fonts"],
"outputPath": "$root/target/typst/$name"
}
}
}
}