feat(opencode): ormolu code formatter for haskell (#10274)
This commit is contained in:
parent
26197ec95b
commit
52006c2fd9
3 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue