-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per joaotavora/eglot#50: use completionItem/resolve more abundantly
It was already used to resolve documentation bits of completions, but it can also be useful to resolve snippet templates and such. To resolve a completion, you need some part of a completion to start with. If it has a :data field exists and the server supports :resolveProvider, fetch the new object, otherwise use whatever we had already. * eglot.el (eglot-completion-at-point): Add another local function for resolving completions.
- Loading branch information
1 parent
f54cc2e
commit ad144ad
Showing
1 changed file
with
24 additions
and
14 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