Weird alignment behaviour with haskell

Sometimes, when I add a new line inside a parenthesis, haskell’s highlighters are doing weird auto-align stuff. Is it expected behaviour ?

HI tgirod,
Interesting I am getting similar behavior on an *.rkt file. The second picture shows dual cursors. Why? I don’t know. A quick fix is to use the append key a to avoid the second cursor. If you have sorted this out please let me know and others here. I’ll do the same.
Bye :wave: