Groovy-Emacs-Modes / groovy-emacs-modes

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

Wrong indentation or wrong setup? #16

Closed jordi-chacon closed 7 years ago

jordi-chacon commented 9 years ago

Hi,

I just installed this mode (version 20150725.1050) and I get the following indentation:

g.traversal().V()
.method()

Shouldn't the second line be intended a few spaces to the left? If so, is this bug in the mode or maybe I have a setup that is messing things up?

Thanks

jordi-chacon commented 9 years ago

Another example of weird indentation:

    void a() {
        return new D(
            a: 1,
                     b: 2)
    }
russel commented 8 years ago

We need to get some tests in place for this mode and then add these examples to the set of tests.

russel commented 7 years ago

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.