rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.32k stars 94 forks source link

Inconsistent indentation after newline? #695

Open drathier opened 1 year ago

drathier commented 1 year ago

Using | for cursor:

  1. let thingy :: M.Map String String
      thingy = |asdf
  2. press enter, to line break
  3. end up with this
    let thingy :: M.Map String String
      thingy =
        as|df

    but expected this

    let thingy :: M.Map String String
      thingy =
        |asdf

I'm suspecting that you're using 4 space indentation, and I'm using 2 space indentation?