From 46aa1aafd179353a98dc1582ca523bf649e3371c Mon Sep 17 00:00:00 2001 From: Xu Chunyang <4550353+xuchunyang@users.noreply.github.com> Date: Sun, 17 Nov 2019 21:17:47 +0800 Subject: [PATCH] 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 --- lisp/progmodes/eglot.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.39.2