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

pretty-printer includes a trailing space on multiline assignments #4839

Open
ceedubs opened this issue Mar 27, 2024 · 0 comments
Open

pretty-printer includes a trailing space on multiline assignments #4839

ceedubs opened this issue Mar 27, 2024 · 0 comments
Labels

Comments

@ceedubs
Copy link
Contributor

ceedubs commented Mar 27, 2024

For lines that exceed certain length, the pretty-printer hangs the value onto a new line like this:

response = 
  interruptibly interrupt '(handle tryRequest req with Http.handler)

What might not be obvious from this example is that there is a trailing space after the =. This really doesn't matter, and yet I find myself bothered by it 😅 . In particular this is annoying if your editor warns you about trailing whitespace (which for me seems to be coming from the neovim LSP client).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant