Eglot: fix completion highlighting (bug#72824)

* lisp/progmodes/eglot.el (eglot-completion-at-point):
Make sure to refer to 'completion-ignore-case' in the
'all-completions' method.
This commit is contained in:
Dmitry Gutov 2024-08-28 02:20:33 +03:00
parent d6880bc24d
commit 9ffa38d392

View file

@ -3260,7 +3260,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