Thursday, December 3, 2009

Re: groovy indent file?



On Tue, Dec 1, 2009 at 12:10 AM, Tom Link <micathom@gmail.com> wrote:
> I would be interested in an updated groovy indent file, also.

AFAIK there is no groovy indent file. I now created a proxy file that
loads the java indent file instead. If you put semicolons at the end
of the lines, this should be an improvement. Let's see.

I guess one could modify the java file to handle missing semicolons
properly. The basic indentation level is set by cindent(). The problem
would be to define a set of rules that tell the current indentexpr
isn't a continuation of the previous one.

I remember coming to the same conclusion.  I'm too lazy to put semicolons
on the end of every line, though.

Keep me informed if you decide to try to define a set of rules for Groovy.
 

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: