Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight single character errors. #721

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

gdotdesign
Copy link
Member

Fixes #717 Also contains a change related to this: connect variable eats trailing whitespace if there is no as name part, which with the changes in the PR would highlight the whitespace.

@gdotdesign gdotdesign added the enhancement New feature or request label Nov 27, 2024
@gdotdesign gdotdesign added this to the 0.21.0 milestone Nov 27, 2024
@gdotdesign gdotdesign requested a review from Sija November 27, 2024 13:57
@gdotdesign gdotdesign self-assigned this Nov 27, 2024

arrows =
(" " * left.size) + ("⌃" * center.uncolorize.size)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uncolorize removes the whitespace, which resulted in cases where nothing was highlighted.

@gdotdesign gdotdesign merged commit dd23533 into master Nov 28, 2024
3 checks passed
@gdotdesign gdotdesign deleted the highlight-single-character-errors branch November 28, 2024 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

Missing space before colon after function parameter
2 participants