|
From: | Jim Porter |
Subject: | bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation |
Date: | Fri, 8 Mar 2024 12:54:46 -0800 |
On 3/8/2024 7:48 AM, Philip Kaludercic wrote:
Tags: patch LSP servers like clangd generate trailing whitespace, that when rendered as markdown causes parts of the buffer to be underlined. Unless there is a reason for this, I'd suggest helping out by deleting trailing whitespace before continuing to process the documentation.
In Markdown, two trailing spaces at the end of a line means "insert a line break here". I'm not sure we should remove that; instead, markdown-mode should handle this as appropriate in its view modes when 'markdown-hide-markup-in-view-modes' is non-nil (the default).
[Prev in Thread] | Current Thread | [Next in Thread] |