-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't immediately request completions in eglot-completion-at-point
Yet another adjustment to this function. According to the documentation of completion-at-point-functions, we should strive to make functions like eglot-completion-at-point "cheap to run". Requesting completion from the server immediately after calling the function goes against that. The reason we were doing it is that it might have helped compute more accurate "bounds" for the return value (START and END) from possible TextEdit completion items. But I've decided it's not worth the effort, at least for now. * eglot.el (eglot-completion-at-point): Request completions asynchronously.
- Loading branch information
1 parent
74240c7
commit f5151be
Showing
1 changed file
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters