[clang-tools-extra] [clangd] Improve Markup Rendering (PR #140498)
Maksim Ivanov via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 2 08:36:28 PDT 2025
================
@@ -118,8 +138,8 @@ class Document {
BulletList &addBulletList();
/// Doesn't contain any trailing newlines.
- /// We try to make the markdown human-readable, e.g. avoid extra escaping.
- /// At least one client (coc.nvim) displays the markdown verbatim!
----------------
emaxx-google wrote:
This deleted comment refers to `coc.nvim`s rendering of markdown - would this PR cause a change of behavior for that use case? If I understand correctly, the prior work intentionally targeted clients, like this, with limited markdown rendering support.
If that's the case and we somehow need to find a balance between Markdown capabilities of different clients, could the `MarkdownClientCapabilities` flags be used to guard the necessary logic?
https://github.com/llvm/llvm-project/pull/140498
More information about the cfe-commits
mailing list