Open nathantchan opened 8 years ago
Yeah this bugs me too but it's been a real pain to fix. A PR would be extremely welcome ;) On Thu, May 12, 2016 at 11:52 AM nathantchan notifications@github.com wrote:
It seems like the indenter does not recognize when a match expression closes, and so case classes declared afterward are indented to the same level as the case statements in the match block:
object Hello {
foo match { case "bar" => true case _ => false }
case class Goodbye( flag: Boolean ) }
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/derekwyatt/vim-scala/issues/126
It seems like the indenter does not recognize when a match expression closes, and so case classes declared afterward are indented to the same level as the case statements in the match block: