@@ -22,7 +22,7 @@ the following goals in mind:
22* That formatting style aims to result in minimal diffs while still
22* That formatting style aims to result in minimal diffs while still
23 remaining very close to “conventional” Haskell formatting people use.
23 remaining very close to “conventional” Haskell formatting people use.
24* Choose a style compatible with modern dialects of Haskell. As new Haskell
24* Choose a style compatible with modern dialects of Haskell. As new Haskell
25− extensions enter broad use, we may change the style to accomodate them.
25+ extensions enter broad use, we may change the style to accommodate them.
26* Idempotence: formatting already formatted code doesn't change it.
26* Idempotence: formatting already formatted code doesn't change it.
27* Be well-tested and robust to the point that it can be used in large
27* Be well-tested and robust to the point that it can be used in large
28 projects without exposing unfortunate, disappointing bugs here and there.
28 projects without exposing unfortunate, disappointing bugs here and there.
@@ -130,14 +130,6 @@ independent top-level definitions.
130 criterion than just being valid Haskell modules.
130 criterion than just being valid Haskell modules.
131* Various minor idempotence issues, most of them are related to comments.
131* Various minor idempotence issues, most of them are related to comments.
133−## Editor integration
135−We know of the following editor integrations:
137−* [Emacs][emacs-package]
138−* [VS Code][vs-code-plugin]
139−* vim: [neoformat][neoformat], [vim-ormolu][vim-ormolu]
141## Running on Hackage
133## Running on Hackage
143It's possible to try Ormolu on arbitrary packages from Hackage. For that
135It's possible to try Ormolu on arbitrary packages from Hackage. For that
@@ -152,6 +144,22 @@ also contain formatted `.hs` files for inspection and original inputs with
152`.hs-original` extension (those are with CPP dropped, exactly what is fed
144`.hs-original` extension (those are with CPP dropped, exactly what is fed
153into Ormolu).
145into Ormolu).
147+## Editor integration
149+We know of the following editor integrations:
151+* [Emacs][emacs-package]
152+* [VS Code][vs-code-plugin]
153+* vim: [neoformat][neoformat], [vim-ormolu][vim-ormolu]
157+To install Ormolu on Arch Linux, one can use [the package on AUR][aur]:
155## Contributing
163## Contributing
157See [CONTRIBUTING.md][contributing].
165See [CONTRIBUTING.md][contributing].
@@ -170,3 +178,4 @@ Copyright © 2018–present Tweag I/O
170[vs-code-plugin]: https://marketplace.visualstudio.com/items?itemName=sjurmillidahl.ormolu-vscode
178[vs-code-plugin]: https://marketplace.visualstudio.com/items?itemName=sjurmillidahl.ormolu-vscode
171[vim-ormolu]: https://github.com/sdiehl/vim-ormolu
179[vim-ormolu]: https://github.com/sdiehl/vim-ormolu
172[neoformat]: https://github.com/sbdchd/neoformat
180[neoformat]: https://github.com/sbdchd/neoformat
181+[aur]: https://aur.archlinux.org/packages/ormolu