From 914b53b6d06344f55c6d90e5a259f806237d3880 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Wed, 17 Aug 2022 17:47:46 -0700 Subject: [PATCH] update comment --- lib/Perl/Tidy/Formatter.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; } } -- 2.39.5