From: João Távora Date: Sat, 22 Dec 2018 15:18:55 +0000 (+0000) Subject: Use gfm-view-mode X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~355 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d255e51c78fe99a0e2736305f0baa2155cb9ca70;p=emacs.git Use gfm-view-mode * eglot.el (eglot--format-markup): Use gfm-view-mode instead of gfm-mode. GitHub-reference: per https://github.com/joaotavora/eglot/issues/188 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 53a52bfc421..43bc023509e 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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