Replies: 2 comments 2 replies
-
I ended up adding prescient.el. I still don't understand many things, such as why |
Beta Was this translation helpful? Give feedback.
2 replies
-
In general, you can alter the list of completions using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there, thanks for the great work!
I'm contributing to a TS project that has an
api
object defined in one of its files. When I typeapi
, I expect thisapi
object to be offered as a first completion. This is whatcompletion-at-point
with Helm gives me, and it's quite nice:But when I try to complete with
company-capf
, here's what I get:api
is there, but buried under 25 other fuzzy completions that are completely irrelevant. I guess the problem lies in the completions given bytsserver
(behindtypescript-language-server
), but I can't find a way to easily 1. reorder these completions or 2. avoid flex completion style.I played with
completion-styles
as well as many other Eglot and Company variables, without success so far. Is there an easy way to make these completions usable?My
.emacs.d
: https://github.com/ramnes/.emacs.dcompany-diag output up to the expected result
Beta Was this translation helpful? Give feedback.
All reactions