]> git.eshelyaron.com Git - emacs.git/commit
Always filter completions client-side by prefix
authorJoão Távora <joaotavora@gmail.com>
Wed, 16 Oct 2019 08:49:09 +0000 (09:49 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 16 Oct 2019 10:49:01 +0000 (11:49 +0100)
commitca9649c6b39abe75e90822936b214d6d4eb10ec3
tree0d821eb6b814804d5cc9c167e8f32cbe7ff19a9f
parent320356985a9315453c3551ee835a22979c543dd5
Always filter completions client-side by prefix

Prefix completion is all we get in LSP because there are some servers
that send *all* completions everytime.  This is horrible, but it's the
currently defined behaviour.  See
https://github.com/microsoft/language-server-protocol/issues/651.

* eglot.el (eglot-completion-at-point): Use all-completions.

GitHub-reference: per https://github.com/joaotavora/eglot/issues/319
lisp/progmodes/eglot.el