Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions registry/ormolu.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
backends = ["github:tweag/ormolu"]
description = "A formatter for Haskell source code"
test = { cmd = "ormolu --version", expected = "ormolu {{version}}" }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve tool discovery for Haskell projects, consider adding a detect field with common Haskell project files. This will help mise suggest ormolu when it detects these files in a project.

Suggested change
test = { cmd = "ormolu --version", expected = "ormolu {{version}}" }
detect = ["*.hs", "*.lhs", "*.cabal", "stack.yaml", "package.yaml"]
test = { cmd = "ormolu --version", expected = "ormolu {{version}}" }

Loading