From: Felician Nemeth <felician.nemeth@gmail.com>
To: Troy Brown <brownts@troybrown.dev>
Cc: 71353@debbugs.gnu.org
Subject: bug#71353: [PATCH] eglot--format-markup doesn't support MarkedString code-blocks
Date: Tue, 04 Jun 2024 07:41:57 +0200 [thread overview]
Message-ID: <87ed9dl0wq.fsf@betli.tmit.bme.hu> (raw)
In-Reply-To: <CABvCZ42HctDpq=iLdEFU2vVxFLR52Gefw7ak=nijTfjFSqX46w@mail.gmail.com> (Troy Brown's message of "Mon, 3 Jun 2024 22:51:07 -0400")
Troy Brown <brownts@troybrown.dev> writes:
> The following patch will format MarkedString code-blocks for markdown
> and plaintext while using the major mode to format any other language.
According to the LSP specification, if MarkedString is "{ language:
string; value: string }", then it should be interpreted as this markdown
formatted string:
```${language}
${value}
```
The patch does not implement this behavior. And as a sidenote,
MarkedString is deprecated.
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_hover
next prev parent reply other threads:[~2024-06-04 5:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-04 2:51 bug#71353: [PATCH] eglot--format-markup doesn't support MarkedString code-blocks Troy Brown
2024-06-04 5:41 ` Felician Nemeth [this message]
2024-06-04 10:01 ` Troy Brown
2024-06-04 11:21 ` Felician Nemeth
2024-06-04 12:37 ` Troy Brown
2024-06-04 19:36 ` Felician Nemeth
2024-06-15 8:12 ` Eli Zaretskii
2024-06-15 9:37 ` João Távora
2024-06-15 12:36 ` Eli Zaretskii
2024-06-18 13:39 ` João Távora
2024-07-01 3:28 ` Troy Brown
2024-07-06 8:41 ` Eli Zaretskii
2024-07-06 9:18 ` João Távora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ed9dl0wq.fsf@betli.tmit.bme.hu \
--to=felician.nemeth@gmail.com \
--cc=71353@debbugs.gnu.org \
--cc=brownts@troybrown.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.