-
If I have a file like:
```
foo = do
bar baz
```
and then (in vim) visually highlight the `bar baz` to run through ormolu, it will leave my file as
```
foo = do
bar baz
```
Is it po…
-
Another style feature request.
The attached file `Main.hs` should be idempotent, but it renders to `LayedOut.hs`, which has trailing whitespace in the empty lines in the comment.
[example.zip](h…
-
This code (highlighted [here](https://github.com/technique-lang/technique/blob/master/lib/Technique/Parser.hs#L328-L334)) uses an idiom that I use quite a bit. We put Haddock in multi-line `{-| ... -}…
-
ghc-lib-parser-8.10.1.20200324 (Digital Asset ) is out of bounds for:
- [x] ghc-syntax-highlighter-0.0.5.0 (>=8.8.1 && < 8.9). Mark Karpov @mrkkrp. @mrkkrp. Used by: library
- [ ] ormolu-0.0.3.1 (>…
-
MacOs, installing:
```
$ cabal install ormolu
Resolving dependencies...
Build profile: -w ghc-8.8.3 -O1
In order, the following will be built (use -v for more details):
- ghc-lib-parser-8.8.3…
-
While working on https://github.com/NixOS/nixpkgs/pull/91279
```
Linking dist/build/func-test/func-test ...
running tests
Running 1 test suites...
Test suite func-test: RUNNING...
haskell-lang…
-
This is really a question about how `ormolu` wants to treat newlines in general. I like to be liberal with whitespace to increase readability. For example I:
- Add newlines between groups of import…
-
**Describe the bug**
The following correct code throws a parse error
```
module Main where
-- | Something. …
-
#10 introduced a `PrinterOpts` type, representing the space of all possible formatting configurations (at time of writing this is just indentation size). This should also be fully configurable from th…
-
**Describe the bug**
A module header like this without a module doc,
```hs
module Main(main) where
...
```
remain as is after ormolu formats the file.
But if I add a module doc (haddock…