Based on popular feedback, nph will now retain most empty lines in code as they are often used to signal logical grouping.
Similar to black / prettier and somewhat similar to nimpretty, this PR moves blank line handlng to a "normalisation" strategy where excessive blanks are removed, some blanks are inserted aroound complex statements and user-entered blanks are retained, normalising them to a single line.
Based on popular feedback, nph will now retain most empty lines in code as they are often used to signal logical grouping.
Similar to black / prettier and somewhat similar to nimpretty, this PR moves blank line handlng to a "normalisation" strategy where excessive blanks are removed, some blanks are inserted aroound complex statements and user-entered blanks are retained, normalising them to a single line.
push