github.com/phadej/cabal-fmt ↗
An experiment of formatting .cabal files
An animated visualization of phadej/cabal-fmt's Git history from December 2018 to February 2021, built by 4 contributors. The codebase reached 288 lines, mostly Haskell. The video runs 44 seconds.
Render your own repo
Turn any GitHub repository into a video like this — free sample in seconds.
Open this visualization on its own page →
Language
Haskell
Contributors
4
Lines of Code
288
From
2018-12-16
To
2021-02-14
Advertisement
About phadej/cabal-fmt
cabal-fmt is a code formatter for Cabal package description files written in Haskell. It automatically reformats .cabal files to follow consistent styling conventions, handling indentation, spacing, and layout throughout the file. The tool takes messily formatted Cabal files and outputs cleanly standardized versions.
The project includes integration with popular text editors. For Emacs users, configuration can be added to a .dir-locals.el file to enable automatic formatting on save. Vim users have two options: the dedicated vim-cabalfmt plugin or the general-purpose neoformat tool, both of which support cabal-fmt as a backend formatter. The tool requires cabal-fmt to be available in the system PATH for these editor integrations to work.
Advertisement