From: Xu Chunyang <4550353+xuchunyang@users.noreply.github.com> Date: Sun, 17 Nov 2019 13:17:47 +0000 (+0800) Subject: Waste less space in completion annotations X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~271 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=46aa1aafd179353a98dc1582ca523bf649e3371c;p=emacs.git Waste less space in completion annotations * eglot.el (eglot-completion-at-point): don't add "(snippet)" Copyright-paperwork-exempt: yes GitHub-reference: fix https://github.com/joaotavora/eglot/issues/349 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 1baa3393dc6..7171911b0e3 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/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