From 67fe1c1ad5a1277f4715ef503f14e8a73a972f78 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sun, 5 Sep 2021 09:44:27 +0100 Subject: [PATCH] Respect completion-regexp-alist in eglot's completion table MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit See GitHub discussion https://github.com/joaotavora/eglot/issues/726 Suggested-by: Felicián Németh Suggested-by: JD Smith * eglot (eglot-completion-at-point): use all-completions. --- lisp/progmodes/eglot.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 5fdc25327f4..e8b7ffbbb13 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2363,7 +2363,9 @@ is not active." ((null action) ; try-completion (try-completion probe (funcall proxies))) ((eq action t) ; all-completions - (cl-remove-if-not + (all-completions + "" + (funcall proxies) (lambda (proxy) (let* ((item (get-text-property 0 'eglot--lsp-item proxy)) (filterText (plist-get item :filterText))) -- 2.39.2