]> git.eshelyaron.com Git - emacs.git/commit
Create match xrefs when possible
authorTrevor Murphy <trevormurphy@google.com>
Fri, 24 Apr 2020 18:52:01 +0000 (11:52 -0700)
committerGitHub <noreply@github.com>
Fri, 24 Apr 2020 18:52:01 +0000 (19:52 +0100)
commit4d3cf3330671a3df4433d1f35efda779ebb72460
treee086a6e6f27f4e2dd1ecd34d3bc3fd2db500f533
parent23878a9404fcefcc3ffc32bcbf9456a6c2cf06c2
Create match xrefs when possible

"Match xrefs" are created with `xref-make-match' instead of
`xref-make'.  Match xrefs support `xref-query-replace-in-results' from
the results buffer.

* eglot.el (eglot--xref-make-match): Calculate xref match length from
  the eglot range.

GitHub-reference: close https://github.com/joaotavora/eglot/issues/435
lisp/progmodes/eglot.el