+1 for this.
Would a groovy indent file also fix the problem of when I type :
if ( foobar) { ... (press enter)
I want the resulting } to be below the 'i' in if.. but instead it ends up
all the way at the left margin. This is extremely annoying.
On Thu, Dec 3, 2009 at 12:38 PM, Nathan Neff <[email protected]> wrote:
>
>
> On Tue, Dec 1, 2009 at 12:10 AM, Tom Link <[email protected]> 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
>
--
Rick R
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php