branch: externals/eglot commit 610d95b88a238d0eb2d631cfaa4f2afecffe0211 Author: Rami Chowdhury <460769+neca...@users.noreply.github.com> Commit: João Távora <joaotav...@gmail.com>
Use gfm-mode for formatted strings (#20) * eglot.el (eglot--format-markup): Use gfm-mode instead of markdown-mode. Copyright-paperwork-exempt: yes --- eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eglot.el b/eglot.el index ac17fb8..1aa3661 100644 --- a/eglot.el +++ b/eglot.el @@ -847,7 +847,7 @@ If optional MARKER, return a marker instead" "Format MARKUP according to LSP's spec." (pcase-let ((`(,string ,mode) (if (stringp markup) (list (string-trim markup) - (intern "markdown-mode")) + (intern "gfm-mode")) (list (plist-get markup :value) (intern (concat (plist-get markup :language) "-mode" )))))) (with-temp-buffer