[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Usage with Eglot?
From: |
Marc Coquand |
Subject: |
Re: Usage with Eglot? |
Date: |
Wed, 10 Apr 2024 08:12:01 -0500 |
User-agent: |
mu4e 1.10.8; emacs 29.3 |
Hi!
Thanks for the rapid response.
So the languages where it did not work are Typescript
and OCaml, both running in eglot mode.
Sincerely,
Marc
Robert Weiner <rsw@gnu.org> writes:
> 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