]> git.eshelyaron.com Git - emacs.git/commitdiff
Waste less space in completion annotations
authorXu Chunyang <4550353+xuchunyang@users.noreply.github.com>
Sun, 17 Nov 2019 13:17:47 +0000 (21:17 +0800)
committerJoão Távora <joaotavora@gmail.com>
Sun, 17 Nov 2019 13:17:47 +0000 (13:17 +0000)
* eglot.el (eglot-completion-at-point): don't add "(snippet)"

Copyright-paperwork-exempt: yes
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/349

lisp/progmodes/eglot.el

index 1baa3393dc6f2e510376e1baa8cbc264f8b0c515..7171911b0e3ddc09bd85999afcb588e42e19078d 100644 (file)
@@ -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