From 698621d984e6aab159fe15ea6d65f44e4a62a79a Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 19 Jan 2025 02:32:49 +0100 Subject: [PATCH] cool zed stuff --- .config/zed/settings.json | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.config/zed/settings.json b/.config/zed/settings.json index 92d9e31..9642a74 100644 --- a/.config/zed/settings.json +++ b/.config/zed/settings.json @@ -80,8 +80,24 @@ "show_wrap_guides": true, "wrap_guides": [80], "languages": { + "Jinja2": { + "formatter": [ + { + "external": { + "command": "djlint", + "arguments": [ + "--reformat", + "--format-css", + "--format-js", + "-" + // "{buffer_path}" + ] + } + } + ], + "format_on_save": "on" + }, "Python": { - "language_servers": ["ruff"], "format_on_save": "language_server", "formatter": [ { @@ -89,8 +105,8 @@ "name": "ruff" } } - ] - // "language_servers": ["pyright", "ruff"] + ], + "language_servers": ["pyright", "ruff"] }, "Rust": { "format_on_save": "language_server",