From 8bb92096ef7cd22b3651ae67b8e737a0d6e718a1 Mon Sep 17 00:00:00 2001 From: Rami Chowdhury <460769+necaris@users.noreply.github.com> Date: Sat, 16 Jun 2018 18:59:57 -0400 Subject: [PATCH] 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 --- lisp/progmodes/eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2