[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP do
From: |
João Távora |
Subject: |
bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation |
Date: |
Fri, 8 Mar 2024 20:41:48 +0000 |
On Fri, Mar 8, 2024 at 3:49 PM Philip Kaludercic <philipk@posteo.net> 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.
Go ahead and push. But be warned I've been bitten by bugs when doing what
I thought were innocent changes to this function, so keep an eye out.
Ideally though the formatting (including these fixups) should be done
entirely by
entities other than Eglot. I think markdown.el has something for that trailing
whitespace. Anyway I don't have time for that, so go ahead and push.
João
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, Philip Kaludercic, 2024/03/08
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation,
João Távora <=
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, Jim Porter, 2024/03/08
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, João Távora, 2024/03/08
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, Jim Porter, 2024/03/08
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, Jim Porter, 2024/03/08
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, Philip Kaludercic, 2024/03/09
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, Jim Porter, 2024/03/09
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, Philip Kaludercic, 2024/03/09
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, Jim Porter, 2024/03/10
- bug#69647: [PATCH 1/2] Delete trailing whitespace when formatting LSP documentation, Philip Kaludercic, 2024/03/22