]> git.eshelyaron.com Git - emacs.git/commitdiff
Update eglot.el to use the new external-completion-table
authorJoão Távora <joaotavora@gmail.com>
Sun, 4 Dec 2022 13:24:00 +0000 (13:24 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sun, 4 Dec 2022 13:24:00 +0000 (13:24 +0000)
* lisp/progmodes/eglot.el
(xref-backend-identifier-completion-table): Update.

lisp/progmodes/eglot.el

index 7fe6fd6b2d72c790f4532e93b954cf5a994b0d89..5cc769d4b03c33f0731f88d9958ec6a570e3aa8a 100644 (file)
@@ -2575,8 +2575,8 @@ If BUFFER, switch to it before."
                             0 'eglot--lsp-workspaceSymbol c)
                            :score 0)))
       (external-completion-table
-       #'lookup
        'eglot-indirection-joy
+       #'lookup
        `((cycle-sort-function
           . ,(lambda (completions)
                (cl-sort completions #'> :key #'score))))))))