-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Text in the status line is squashed onto one line #2301
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
Comments
I've seen this happen enough times with various Rust things that I think we should put up a handler for all Rust messages to be wrapped in this - i.e. if there's three lines, just put in a |
Putting a space between them makes sense. They have to be put into one line and truncated so they don't create "Press Enter to continue" prompts as you move your cursor around, but we can add a space. |
This sounds great. Would it be trivial to implement? If so I can try to tackle it and push a PR. I also want to point out that I think we need ALEDetail/virtualtext/status line msg to have a way to format them automatically anyway. |
This shouldn't be hard to fix, split the lines and join them together again. Save different text in the |
Now newlines are replaced with spaces in the messages we echo. |
When I'm writing Rust, the errors in the status line get concatenated into one line:
but it's kind of confusing to have to work out where the first line of the error message ends and the other lines begin every time I want to fix an error. Compare with
:ALEDetail
:Would it be possible to separate the lines of the error message somehow in the status line? Even just putting a space between them would be an improvement, or it would be neat if it were possible to apply different styles to different parts of the error message (e.g. display the first line in bold, or everything except the first line in a dimmer colour).
The text was updated successfully, but these errors were encountered: