From 907bfe2a93ad172a854979cede87ee0460e33ddd Mon Sep 17 00:00:00 2001 From: Garret Buell Date: Wed, 15 Dec 2021 13:17:26 -0800 Subject: [PATCH] Mark eglot-completion-at-point capf "non-exclusive" Add :exclusive 'no to eglot-completion-at-point results marking it as non-exclusive. This will allow completion to fall back to other less precise completion backends (e.g. dabbrev) if Eglot's returns no results. * eglot.el (eglot-completion-at-point): Set :exclusive to 'no Copyright-paperwork-exempt: Yes GitHub-reference: close https://github.com/joaotavora/eglot/issues/770 --- lisp/progmodes/eglot.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index d8890209129..5fbf9a73616 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2415,6 +2415,7 @@ is not active." (regexp-opt (cl-coerce (cl-getf completion-capability :triggerCharacters) 'list)) (line-beginning-position)))) + :exclusive 'no :exit-function (lambda (proxy status) (when (eq status 'finished) -- 2.39.2