Skip to content

fix: correctly accumulate leading whitespace length#13433

Open
Olexandr88 wants to merge 1 commit intofoundry-rs:masterfrom
Olexandr88:fix/whitespace-offset
Open

fix: correctly accumulate leading whitespace length#13433
Olexandr88 wants to merge 1 commit intofoundry-rs:masterfrom
Olexandr88:fix/whitespace-offset

Conversation

@Olexandr88
Copy link

Fix whitespace length calculation. Previously only the last whitespace character was counted, which could lead to incorrect offset when normalizing block comments.

Signed-off-by: Olexandr88 <radole1203@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant