comments_min_spaces_from_content
effect in comment lines
#241
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description
When you have a comment such as:
the
comments_min_spaces_from_content
setting will have an effect on the second line, producing (e.g. for a value of 2):I would argue that this shouldn't be the case, as the
# Some section
string is not properly "content", and instead makes this setting unusable for proper "content" as it must be fixed to 1 to format comment headers such as the one above nicely.Desired behavior
The setting above should be ignored after the start of a comment (i.e. after the first
#
in a line). So for whatever value ofcomments_min_spaces_from_content
it should not alter the original comment:The text was updated successfully, but these errors were encountered: