From: Brian Leung Date: Sun, 31 Jan 2021 01:33:08 +0000 (-0800) Subject: Add support for locationlink X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~127 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7eb81031cd25562c7c566a34cce616fd0410e51d;p=emacs.git Add support for locationlink Fix https://github.com/joaotavora/eglot/issues/711. LocationLink was added in version 3.14 of the protocol and is sometimes used in lieu of Location for definition- and reference-related requests. * eglot.el (eglot--lsp-interface-alist): Update with LocationLink. (eglot-client-capabilities): Advertise textDocument.{definition,declaration,implementation,typeDefinition}.linkSupport. (eglot--lsp-xrefs-for-method): Accept LocationLinks. Co-authored-by: João Távora