From: Rami Chowdhury <460769+necaris@users.noreply.github.com> Date: Sat, 16 Jun 2018 22:59:57 +0000 (-0400) Subject: Use gfm-mode for formatted strings () X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~499 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8bb92096ef7cd22b3651ae67b8e737a0d6e718a1;p=emacs.git Use gfm-mode for formatted strings () * eglot.el (eglot--format-markup): Use gfm-mode instead of markdown-mode. Copyright-paperwork-exempt: yes GitHub-reference: https://github.com/joaotavora/eglot/issues/20 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index ac17fb895f8..1aa3661d4d2 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/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