feat(opencode): add dfmt formatter support for D language files (#13867)

This commit is contained in:
Robert Schadek 2026-02-16 20:14:35 +01:00 committed by GitHub
parent 16332a8583
commit 160ba295a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 27 additions and 0 deletions

View file

@ -373,3 +373,12 @@ export const cljfmt: Info = {
return Bun.which("cljfmt") !== null
},
}
export const dfmt: Info = {
name: "dfmt",
command: ["dfmt", "-i", "$FILE"],
extensions: [".d"],
async enabled() {
return Bun.which("dfmt") !== null
},
}