From d255e51c78fe99a0e2736305f0baa2155cb9ca70 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sat, 22 Dec 2018 15:18:55 +0000 Subject: [PATCH] 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 --- 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 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 -- 2.39.2