]> git.eshelyaron.com Git - emacs.git/commitdiff
Use gfm-view-mode
authorJoão Távora <joaotavora@gmail.com>
Sat, 22 Dec 2018 15:18:55 +0000 (15:18 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sat, 22 Dec 2018 15:18:55 +0000 (15:18 +0000)
* eglot.el (eglot--format-markup): Use gfm-view-mode instead of gfm-mode.

GitHub-reference: per https://github.com/joaotavora/eglot/issues/188

lisp/progmodes/eglot.el

index 53a52bfc421575d3803c857c7cc26b55b02084de..43bc023509e47337f88ef61077d95bd39882fa7d 100644 (file)
@@ -1026,7 +1026,7 @@ Doubles as an indicator of snippet support."
   "Format MARKUP according to LSP's spec."
   (pcase-let ((`(,string ,mode)
                (if (stringp markup) (list (string-trim markup)
-                                          (intern "gfm-mode"))
+                                          (intern "gfm-view-mode"))
                  (list (plist-get markup :value)
                        major-mode))))
     (with-temp-buffer