branch: externals/eglot
commit 2f0e51a05c14b1943206fce83e96c3ff2f0d4b32
Author: João Távora <joaotav...@gmail.com>
Commit: João Távora <joaotav...@gmail.com>

    Per #188: use gfm-view-mode
    
    * eglot.el (eglot--format-markup): Use gfm-view-mode instead of gfm-mode.
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 53a52bf..43bc023 100644
--- a/eglot.el
+++ b/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

Reply via email to