Groovy-Emacs-Modes / groovy-emacs-modes

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

Set indentation for groovy/grails mode #22

Closed lifeisfoo closed 7 years ago

lifeisfoo commented 8 years ago

I've tried using this solution but it seems to work only sometimes. E.g. inside grails controllers methods, the tab size is always two...

How to set the indentation value for these modes?

lifeisfoo commented 8 years ago

I solved commenting this line in groovy-mode.el file.

russel commented 8 years ago

I would suggest that commenting out that line will cause other errors. I think the solution has to be to take this use of : into account in the code of the groovy-mode-fix-closure-with-argument function.

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.