Skip to main content

New answers tagged

1 vote

How to sort list of completions produced by eglot and company-mode?

The small library sortie.el (code) is very general. It's specifically for sorting completion candidates, on the fly, that is, interactively. The candidates can be of any kind, and you can sort them ...
Drew's user avatar
  • 79.1k
2 votes
Accepted

How to sort list of completions produced by eglot and company-mode?

There is a user option company-transformers which allows you to choose from existing sorting functions, or set up your own. No built-in option to "sort by string length", but it seems easy ...
Dmitry's user avatar
  • 3,888

Top 50 recent answers are included