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

fix: split diagnostic lines on \n character in floating window #1438

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

emgeee
Copy link

@emgeee emgeee commented May 11, 2024

This PR attempts to help display diagnostic messages in a more graceful way.

Before, newline characters ('\n') in diagnostic messages were simply stripped out. This PR instead writes them out to a separate line

Before
Screenshot 2024-05-11 at 7 52 29 AM

After
Screenshot 2024-05-11 at 7 55 40 AM

Ideally, it'd be nice to not display the horizontal lines so it's more clear certain lines are meant to be grouped together but I wasn't entirely sure how to do that.

Open to feedback!

@emgeee emgeee changed the title split diagnostic lines on \n character in floating window fix: split diagnostic lines on \n character in floating window May 11, 2024
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.

1 participant