Groovy-Emacs-Modes / groovy-emacs-modes

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

Fix comment indent for slash-star comments with 'if' or 'for' #125

Closed FormerPhysicist closed 6 years ago

FormerPhysicist commented 6 years ago

This pull request should fix the indentation issue associated with / / style comments that contain keywords like "if" or "for".

See #124

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.4%) to 99.003% when pulling 2b8480c49ca627b796459daccbd65b4c3d4daabc on FormerPhysicist:fix-comment-indent into a5afa3ac0a23c1bdebea014d06e5c30dde56ee8b on Groovy-Emacs-Modes:master.

FormerPhysicist commented 6 years ago

@Wilfred I've fixed the the issues mentioned in your comments. I've also added some test cases to your unit test file. I think I added the test cases correctly but I wasn't able to figure out how to run them and confirm that. I tried M-x ert but it keeps saying that 0 tests were run....(?)

Anyways, let me know if there's anything else I need to do. Thanks!