Skip to content

Commit

Permalink
Close #770: Mark eglot-completion-at-point capf "non-exclusive"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gmbuell committed Dec 15, 2021
1 parent 55c13a9 commit 670ee61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 670ee61

Please sign in to comment.