-
Repro: not sure of yet
Stack trace
```
java.lang.IndexOutOfBoundsException: Wrong endOffset: 1294; documentLength: 1293
at com.intellij.openapi.editor.impl.DocumentImpl.assertBounds(Document…
-
```haskell
import Prelude -- separate issue, but without this line haddock fails
{- | Main docstring -}
-- non-docstring comment
main :: IO ()
main = pure ()
```
~~~~
$ haddock --version
…
-
**Describe the bug**
Ormolu is not breaking long import lines.
**To Reproduce**
```import LLVM.AST (Definition (GlobalDefinition), Module, defaultModule, functionDefaults, moduleDefinitions, modu…
-
I am getting this error on Main.hs, while other files worked fine
cabal can build the executable and it runs fine.
this only occurs with hls but not hie (previously, like several months ago)
!…
-
Hello!
First, thanks for putting up this library! :beers:
I'm trying to use this with `haskell-language-server` inside a nix sandbox. I tried to set some wrappers (following along the lines of …
-
**Describe the bug**
Here I enabled the `dev` flag:
https://github.com/tweag/ormolu/blob/master/default.nix#L18
I know for a fact that current `master` must fail with this flag because there …
-
**Describe the bug**
Immediately get the message asking to restart the server because it crashed.
Tested with `stack` and `direct` cradle.
I check using directly `haskell-language-server-wrapper`…
-
If I add ormolu as a
```
build-tool-depends:
, ormolu:ormolu ==0.0.3.1
```
in my project, and use a `cabal.project.freeze` file that corresponds to https://www.stackage.org/lts-15.5 (e…
-
I am experimenting with using ormolu with "format on save" in my editor, and sometimes I wish to edit code without updating all of the styling.
One idea that came to mind is having some comment tha…
-
It would be excellent to support folding of _lots_ of things, but IMO the low hanging fruit here is probably visual collapsing (folding) of Haskell imports, especially considering how many imports man…