]> git.eshelyaron.com Git - emacs.git/commitdiff
Eglot: fix completion highlighting (bug#72824)
authorDmitry Gutov <dmitry@gutov.dev>
Tue, 27 Aug 2024 23:20:33 +0000 (02:20 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:40 +0000 (09:51 +0200)
* lisp/progmodes/eglot.el (eglot-completion-at-point):
Make sure to refer to 'completion-ignore-case' in the
'all-completions' method.

(cherry picked from commit 9ffa38d3925d70dea704988f68e9e3eca6c7d19c)

lisp/progmodes/eglot.el

index 39f2421ba58fb645b615528383d1ee9e87fce03d..221d9c0727d0df4ea8074a470541a7d074c189c8 100644 (file)
@@ -3305,7 +3305,7 @@ for which LSP on-type-formatting should be requested."
            (try-completion pattern (funcall proxies)))
           ((eq action t)                                 ; all-completions
            (let ((comps (funcall proxies)))
-             (dolist (c comps) (eglot--dumb-flex pattern c t))
+             (dolist (c comps) (eglot--dumb-flex pattern c completion-ignore-case))
              (all-completions
               ""
               comps