Skip to content

Conversation

@WillLillis
Copy link

This PR prevents indentation from being added to blank lines in the UI, which in turn allows the user to move between sections using the } keybind. Here's an example gif:

mason_whitespace

Closes #1529

Copy link
Member

@williamboman williamboman left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks! I added a test case and made a slight adjustment so get_styles is only called when it's actually needed

@williamboman williamboman merged commit c7e6705 into mason-org:main Jan 21, 2024
@WillLillis WillLillis deleted the whitespace branch January 21, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ui): Delete Whitespaces in Blankline

2 participants