From 5ebc7224e4dc7d2969bae156f8c0f91eb755066b Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin <35292584+Myriad-Dreamin@users.noreply.github.com> Date: Wed, 19 Mar 2025 12:58:21 +0800 Subject: [PATCH] feat: add zed configuration (#1537) * feat: add zed configuration * feat: update linguist info --- .gitattributes | 1 + .zed/settings.json | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .gitattributes create mode 100644 .zed/settings.json diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..25747a5d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.zed/settings.json linguist-language=json5 \ No newline at end of file diff --git a/.zed/settings.json b/.zed/settings.json new file mode 100644 index 00000000..0a582612 --- /dev/null +++ b/.zed/settings.json @@ -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" + } + } + } +}