Closed mitc0185 closed 7 years ago
I think there is a problem with the default style rules. My personal set up is so amended from the default, I am seeing much more weird (wrong) stuff ;-)
We have changed the Groovy mode from being a CC-Mode derived one to being a standalone one. We are therefore closing all issues relating to the old mode. If you try the new mode and see any problems please post a new issue.
I will freely admit I am new to both Groovy and Spock, and not enough of an Emacs hacker to take this on alone.
When I'm writing spock in groovy mode, the blocks (given, when, then, etc...) are not being indented in the same way that other statements would be.
Example:
If I highlight all of that code and hit tab, the "given:" line does not tab in. I would expect that it would. If I put a regular statement above that line, it does get indented.
Is this something I can fix in my .emacs file? Or is the mode not catching this type of line? When I look at other examples of spock tests I'm seeing these lines indented.