From 4edccb61fffabb40aa372808df30cdba475d0f7c Mon Sep 17 00:00:00 2001 From: Eric Rodrigues Pires Date: Tue, 30 Dec 2025 16:22:12 -0300 Subject: [PATCH] Add Zed extension to website --- duper_website/docs/.vitepress/config.mts | 5 ++++- duper_website/docs/tools/zed.md | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 duper_website/docs/tools/zed.md diff --git a/duper_website/docs/.vitepress/config.mts b/duper_website/docs/.vitepress/config.mts index 4b713ea..df89231 100644 --- a/duper_website/docs/.vitepress/config.mts +++ b/duper_website/docs/.vitepress/config.mts @@ -85,7 +85,10 @@ export default async () => { }, { text: "Editor support", - items: [{ text: "Visual Studio Code", link: "/tools/vs-code" }], + items: [ + { text: "Visual Studio Code", link: "/tools/vs-code" }, + { text: "Zed", link: "/tools/zed" }, + ], }, { text: "Tools", diff --git a/duper_website/docs/tools/zed.md b/duper_website/docs/tools/zed.md new file mode 100644 index 0000000..c483c97 --- /dev/null +++ b/duper_website/docs/tools/zed.md @@ -0,0 +1,15 @@ +# Zed support + +Duper is available as [an extension for Zed](https://zed.dev/extensions/duper), with syntax highlighting, full LSP support, validation, and auto-formatting. + +In order to enable formatting via the LSP, add the following entry to `settings.json`: + +```json +{ + "languages": { + "Duper": { + "formatter": "language_server" + } + } +} +``` -- knotmirror 0.0.1