forked from joaotavora/eglot
-
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.
Close joaotavora#52: Use entire line as xref summary when possible
* eglot.el (eglot--xref-make): Make the item with summary being the whole line at given location, when possible (eglot--locations-to-xrefs,eglot--path-xrefs,eglot--buf-xrefs): Convert location list to xref list, trying to open each file just once. (xref-backend-identifier-at-point): (xref-backend-definitions): (xref-backend-references): Pass the list of locations to eglot--locations-to-xrefs.
- Loading branch information
Showing
1 changed file
with
65 additions
and
30 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