Saturday, July 3, 2010

Re: perl indent

On 17/05/10 16:58, mr4s wrote:
> Sorry, my post was sent much too early :/
>
> so i'd like :
> my $foo = { 'foo' => bar,
> 'oof' => rab,
> };
>
> and not :
> my $foo = { 'foo' => bar,
> 'oof' => rab,
> };
>
> Is it possible ? python mode behave like i want for example.
>
> Regards,
>
> Cyrille
>
> On 17 mai, 16:54, mr4s<cyrille.m...@gmail.com> wrote:
>> Hello,
>>
>> I search the mailing list and google to find a way to indent perl as I
>> want but didn't find a way. Perl indent is nearly perfect but I'd like
>> to behave like emacs for code like this:
>>
>> my $foo = { 'foo' => bar,
>> 'oof' => rab,
>>
>> --
>> You received this message from the "vim_use" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit http://www.vim.org/maillist.php
>

1. Please do not top-post. An email should make sense when read from top
to bottom, at least when this list is where it is sent to.

2. I'm not sure I understand what you want. Could you repeat the example
using (plaintext and) a fixed-width font? Or explain what should line up
with what, or what should be how far left or right from what?


Best regards,
Tony.
--
One difference between a man and a machine is that a machine is quiet
when well oiled.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: