mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-11 13:21:03 +00:00
feat(opencode): add dfmt formatter support for D language files (#13867)
This commit is contained in:
parent
16332a8583
commit
160ba295a8
19 changed files with 27 additions and 0 deletions
|
|
@ -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
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue