lspsaga.nvim icon indicating copy to clipboard operation
lspsaga.nvim copied to clipboard

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

Open emgeee opened this issue 1 year ago • 0 comments

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 avatar May 11 '24 15:05 emgeee