feat(opencode): ormolu code formatter for haskell (#10274)

This commit is contained in:
Ondřej Súkup 2026-02-02 13:01:49 +01:00 committed by GitHub
commit 52006c2fd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 0 deletions

View file

@ -355,3 +355,12 @@ export const pint: Info = {
return false
},
}
export const ormolu: Info = {
name: "ormolu",
command: ["ormolu", "-i", "$FILE"],
extensions: [".hs"],
async enabled() {
return Bun.which("ormolu") !== null
},
}