Monday, November 30, 2009

Re: groovy indent file?



On Sun, Nov 29, 2009 at 10:09 AM, Tom Link <micathom@gmail.com> wrote:
Hi,

Does somebody know a groovy indent file? I found a thread from 1-2
years ago with no satisfying answer to a similar question. Has the
situation changed in the meantime?


Tom,

I would be interested in an updated groovy indent file, also.

Whenever I format a groovy file using gg=G, I end up with code like this:

def var1 = 'Foo'
    def var2 = 'Bar'
    def var3 = 'Baz'

And obviously, all three lines should be on the same indent level.

Thanks,
--Nate
 
Regards,
Tom

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment