]> git.eshelyaron.com Git - emacs.git/commitdiff
Use gfm-mode for formatted strings ()
authorRami Chowdhury <460769+necaris@users.noreply.github.com>
Sat, 16 Jun 2018 22:59:57 +0000 (18:59 -0400)
committerJoão Távora <joaotavora@gmail.com>
Sat, 16 Jun 2018 22:59:57 +0000 (23:59 +0100)
* 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

index ac17fb895f819c056a00435c9826c8b1eb3ae805..1aa3661d4d2b2d12914b3863031871566613d2aa 100644 (file)
@@ -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