Skip to content

Conversation

thecodesmith
Copy link

Words ending in a colon were being treated as C-style labels and being de-indented. Since Spock uses this syntax for given: when: then: blocks, this change causes cinoptions to ignore labels.

@chaoren
Copy link
Contributor

chaoren commented Mar 13, 2016

Hi. I originally uploaded the UNIX version of this plugin here, and this is just a mirror of that, so it can't take pull requests.

Since I didn't actually write the original plugin, I'm gonna just trust you here that this is correct, and benefits every groovy user and not just Spock (whatever that is) users.

@chaoren
Copy link
Contributor

chaoren commented Mar 13, 2016

Alright, uploaded. Please close this after it propagates here.

@breiting
Copy link

👍

amzyang pushed a commit to amzyang/groovyindent-unix that referenced this pull request Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants