emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot 670ee61169 23/33: Close #770: Mark eglot-completi


From: Stefan Kangas
Subject: [elpa] externals/eglot 670ee61169 23/33: Close #770: Mark eglot-completion-at-point capf "non-exclusive"
Date: Sat, 8 Jan 2022 12:30:50 -0500 (EST)

branch: externals/eglot
commit 670ee61169419e8e82b0bb115338bd5abbc44640
Author: Garret Buell <gmbuell@gmail.com>
Commit: GitHub <noreply@github.com>

    Close #770: 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
---
 eglot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eglot.el b/eglot.el
index d889020912..5fbf9a7361 100644
--- a/eglot.el
+++ b/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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]