Monday, November 30, 2009

Re: groovy indent file?



On Mon, Nov 30, 2009 at 9:26 PM, Nathan Neff <nathan.neff@gmail.com> wrote:


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'


Oops -- I mis-stated my problem (I don't mean to take over your thread, so I'll post a link to my question from awhile ago).

http://old.nabble.com/Groovy-Indenting-td20042847.html#a20042847

 
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: