Groovy-Emacs-Modes / groovy-emacs-modes

A groovy major mode, grails minor mode, and a groovy inferior mode.
84 stars 39 forks source link

indentation error when string on prior line contains a keyword. #126

Closed FormerPhysicist closed 5 years ago

FormerPhysicist commented 6 years ago

Like my prior issue, I've noticed that the indentation isn't right when a string contains a block keyword. For example,

def foo = "if for while else" 
    def bar = false // This isn't right

def foo = "normal string"
def bar = true // This is what I'd expect

I'll submit a PR shortly that should put this issue (I hope) to bed.

djlindstr commented 5 years ago

This is fixed, isn't it?

Wilfred commented 5 years ago

Yep.