diff options
| -rw-r--r-- | lisp/progmodes/eglot.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 82401b685ce..d941aec4688 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el | |||
| @@ -2782,10 +2782,9 @@ for which LSP on-type-formatting should be requested." | |||
| 2782 | (cl-sort completions | 2782 | (cl-sort completions |
| 2783 | #'string-lessp | 2783 | #'string-lessp |
| 2784 | :key (lambda (c) | 2784 | :key (lambda (c) |
| 2785 | (or (plist-get | 2785 | (plist-get |
| 2786 | (get-text-property 0 'eglot--lsp-item c) | 2786 | (get-text-property 0 'eglot--lsp-item c) |
| 2787 | :sortText) | 2787 | :sortText))))) |
| 2788 | ""))))) | ||
| 2789 | (metadata `(metadata (category . eglot) | 2788 | (metadata `(metadata (category . eglot) |
| 2790 | (display-sort-function . ,sort-completions))) | 2789 | (display-sort-function . ,sort-completions))) |
| 2791 | resp items (cached-proxies :none) | 2790 | resp items (cached-proxies :none) |