in reply to Re: How would you indent this?
in thread How would you indent this?
The cperl-mode default is awful.
It's probably a bug or at least unintentional behaviour. It seems like the consensus is that one should either have
{key => 'k', class => 'kanji'},
or
{ key => 'k', class => 'kanji', },
but not
{ key => 'k', class => 'kanji' },
so what I should do is to stop it from adding the newline after the {.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How would you indent this?
by ikegami (Patriarch) on Mar 18, 2021 at 07:32 UTC | |
by LanX (Saint) on Mar 18, 2021 at 19:23 UTC | |
by GrandFather (Saint) on Mar 18, 2021 at 20:24 UTC | |
by LanX (Saint) on Mar 18, 2021 at 20:48 UTC | |
by haj (Vicar) on Mar 19, 2021 at 00:02 UTC | |
| |
by GrandFather (Saint) on Mar 18, 2021 at 21:13 UTC | |
| |
by no longer just digit (Beadle) on Mar 18, 2021 at 23:04 UTC | |
| |
by ikegami (Patriarch) on Mar 19, 2021 at 13:32 UTC | |
by LanX (Saint) on Mar 19, 2021 at 14:04 UTC | |
by ikegami (Patriarch) on Mar 22, 2021 at 08:09 UTC | |
by Anonymous Monk on Mar 19, 2021 at 08:46 UTC | |
by ikegami (Patriarch) on Mar 19, 2021 at 13:41 UTC | |
by Anonymous Monk on Mar 20, 2021 at 02:43 UTC | |
by ikegami (Patriarch) on Mar 22, 2021 at 08:10 UTC | |
|
Re^3: How would you indent this?
by parv (Parson) on Mar 18, 2021 at 07:18 UTC |