mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-20 01:08:31 +03:00
feat(opencode): ormolu code formatter for haskell (#10274)
This commit is contained in:
committed by
GitHub
Unverified
parent
26197ec95b
commit
52006c2fd9
@@ -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
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user