emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot 610d95b 03/12: Use gfm-mode for formatted strings


From: João Távora
Subject: [elpa] externals/eglot 610d95b 03/12: Use gfm-mode for formatted strings (#20)
Date: Fri, 22 Jun 2018 11:52:15 -0400 (EDT)

branch: externals/eglot
commit 610d95b88a238d0eb2d631cfaa4f2afecffe0211
Author: Rami Chowdhury <address@hidden>
Commit: João Távora <address@hidden>

    Use gfm-mode for formatted strings (#20)
    
    * eglot.el (eglot--format-markup): Use gfm-mode instead of
    markdown-mode.
    
    Copyright-paperwork-exempt: yes
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index ac17fb8..1aa3661 100644
--- a/eglot.el
+++ b/eglot.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]