Adds support for Caddyfile
syntax highlighting and automatic formatting.
This is essentially an updated version of vscode-caddyfile-syntax
with additional features.
caddyfile.executable
: Location of thecaddy
executable to use for code formatting. (Default:""
)
To use the binary from a container simply create a script with you preferible container manager.
cat >/usr/bin/caddy <<EOF
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
podman/docker run --rm -i docker.io/caddy:latest caddy "$@"
EOF
chmod +x /usr/bin/caddy
- Syntax Highlighting
- Automatic Formatting (supports Format on Save)
- Support for Caddyfile v2
- Basic Language Server with suggestions and descriptions
- caddy v2.2.0 or later (required for Automatic Formatting)
- None
See CHANGELOG.md