hyperbole-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Usage with Eglot?


From: Robert Weiner
Subject: Re: Usage with Eglot?
Date: Sun, 14 Apr 2024 15:47:26 -0400

We have now fixed the Hyperbole master tip on Github to support eglot properly.  Once you download the current elpa-devel or melpa package with a date of 20240410 or greater, the fixes should be in there and M-RET will use eglot in languages that Hyperbole has Action Key support for.  We'll also look at generalizing this so it works across all languages.  -- Bob   

On Tue, Apr 9, 2024 at 10:43 PM Robert Weiner <rsw@gnu.org> wrote:
Hi Marc:

In general, Hyperbole will use the current xref backend for definition lookup, but this is language-specific as other methods have been preferred in the past.  For example, in Python, the jedi language server traditionally was preferred over xref (often TAGS files).  We are redoing the Python support now to allow for Eglot or other xref backends.  What language(s) are you using where Hyperbole did not invoke your xref backend?

-- rsw

On Tue, Apr 9, 2024 at 4:43 PM Marc Coquand <marc@mccd.space> wrote:

Heya,

With embark, currently embark-dwim figures out that if I select a
function with eglot mode running, I want to go to definition.

Is there something similar available for hyperbole that can be setup?
I'd love it if the M-Ret would open the reference of the function at point
(xref-find-definitions) or otherwise attempt
eldoc-documentation-at-point.

Thanks in advance for all help.
Marc


reply via email to

[Prev in Thread] Current Thread [Next in Thread]