-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indent Spock blocks #13
Labels
Comments
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: