From: Steve Hancock Date: Thu, 18 Aug 2022 00:47:46 +0000 (-0700) Subject: update comment X-Git-Tag: 20220613.05~42 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=914b53b6d06344f55c6d90e5a259f806237d3880;p=perltidy.git update comment --- diff --git a/lib/Perl/Tidy/Formatter.pm b/lib/Perl/Tidy/Formatter.pm index eb1bd539..9227cc3d 100644 --- a/lib/Perl/Tidy/Formatter.pm +++ b/lib/Perl/Tidy/Formatter.pm @@ -17592,8 +17592,12 @@ sub correct_lp_indentation { get_saved_opening_indentation($align_seqno); if ( defined($indent) ) { - # FIXME: should use '1' here if no space after opening - # and '2' if want space; hardwired at 1 like -gnu-style + # NOTE: we could use '1' here if no space after + # opening and '2' if want space; it is hardwired at 1 + # like -gnu-style. But it is probably best to leave + # this alone because changing it would change + # formatting of much existing code without any + # significant benefit. $actual_pos = get_spaces($indent) + $offset + 1; } }