6
submitted 1 month ago* (last edited 1 month ago) by sith@lemmy.zip to c/emacs@lemmy.ml

Howdy!

I'm experiencing an issue with eglot and xref-find-definition in ada-mode. Maybe someone can help.

So this is the situation: sometimes when I use xref-find-definition lsp does not work, and xref asks for a TAGS file. However, at the same time I get a popup from eglot (I think), showing the definition. It appears the connection between eglot and xref is unstable. I want xref-find-definition to work all the time (don't care about the popup really).

I'm using the following hook for eglot:

(add-hook 'prog-mode-hook #'eglot-ensure)

Any suggestions on what triggers this behavior or how I should debug this (I'm kind of an Emacs noob)?

Oh, and I'm using Emacs 29.3.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 30 Nov 2024
6 points (100.0% liked)

Emacs

2274 readers
1 users here now

Our infinitely powerful editor.

founded 5 years ago
MODERATORS