1
1
Fork 0

zed: add caddyfile config and format

This commit is contained in:
Myned 2025-04-11 14:51:39 -05:00
parent 5128e77548
commit f7f152bd30
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 11 additions and 0 deletions
options/custom/programs/zed
secrets/server/caddy

View file

@ -217,6 +217,17 @@ in {
# Language-specific
# https://zed.dev/docs/configuring-languages
languages = {
# https://github.com/nusnewob/caddyfile-zed
Caddyfile = {
format_on_save = "on";
tab_size = 2;
formatter.external = {
command = "caddy";
arguments = ["fmt" "-"];
};
};
# https://zed.dev/docs/languages/markdown
Markdown = {
format_on_save = "on";

Binary file not shown.