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

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

[elpa] externals/eglot 53056a5 22/54: Fix #349: waste less space in comp


From: João Távora
Subject: [elpa] externals/eglot 53056a5 22/54: Fix #349: waste less space in completion annotations
Date: Thu, 16 Apr 2020 05:31:48 -0400 (EDT)

branch: externals/eglot
commit 53056a568a77931b9d3dd7b723761451a1ecec13
Author: Xu Chunyang <address@hidden>
Commit: João Távora <address@hidden>

    Fix #349: waste less space in completion annotations
    
    * eglot.el (eglot-completion-at-point): don't add "(snippet)"
    
    Copyright-paperwork-exempt: yes
---
 eglot.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/eglot.el b/eglot.el
index 1baa339..7171911 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2033,10 +2033,7 @@ is not active."
              (when annotation
                (concat " "
                        (propertize annotation
-                                   'face 'font-lock-function-name-face)
-                       (and (eql insertTextFormat 2)
-                            (eglot--snippet-expansion-fn)
-                            " (snippet)"))))))
+                                   'face 'font-lock-function-name-face))))))
        :company-doc-buffer
        (lambda (proxy)
          (let* ((documentation



reply via email to

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