Skip to content

Uncommenting a block without trailing space borks indentation #129

Description

@somini

When uncommenting a block of lines without a space prefix, the uncommented lines with that space keep them, instead of removing them.

This is similar to #77


Example Input:

commentstring=> %s
> Quote
>
> Multiline

Output (with leading spaces):

 Quote

 Multiline

Expected:

Quote

Multiline

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions