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

feat(ui): remove whitespace in empty lines #1597

Merged
merged 3 commits into from
Jan 21, 2024

Conversation

WillLillis
Copy link
Contributor

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
Owner

@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 williamboman:main Jan 21, 2024
14 checks passed
@WillLillis WillLillis deleted the whitespace branch January 21, 2024 18:13
williamboman added a commit to BlueDrink9/mason.nvim that referenced this pull request Mar 21, 2024
* origin/main:
  tests: remove old spec (williamboman#1634)
  chore(main): release 1.10.0 (williamboman#1605)
  fix(pypi): fix variable shadowing (williamboman#1610)
  feat(pypi): attempt more python3 candidates (williamboman#1608)
  fix(golang): fix fetching package versions for packages containing subpath specifier (williamboman#1607)
  feat: don't use vim.g.python3_host_prog as a candidate for python (williamboman#1606)
  fix(ui): don't indent empty lines (williamboman#1597)
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