Groovy-Emacs-Modes / groovy-emacs-modes

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

Incorrect indentation on line after { followed by comment #112

Closed djlindstr closed 6 years ago

djlindstr commented 6 years ago

The indentation error seems to be triggered by adding a comment after an opening brace. The following line is lined up to below the opening brace + 1.

whatever {
    indented_ok
}

whatever { // Comment
          indented_too_far
}

whatever { /* Comment */
          indented_too_far
}

{ -> /* Comment */
 indented_too_little
}
Wilfred commented 6 years ago

I think this was fixed in a6d50dc29601c3acfab211d7dc8699482844f290, are you running the latest version?

djlindstr commented 6 years ago

Indeed, my apologies. Thought I loaded the latest version. Keep up the good work!