Subject: Re: 29.4; Eglot ignores locally set configuration

From: João Távora <[email-masked]>
Date: Wed, 13 Nov 2024 10:10:02 +0000

On Wed, Nov 13, 2024 at 9:45 AM Acid Bong <[email-masked]> wrote:

> Woah, it actually works. Kinda weird that it requires .dir-locals.el to be in the
> Git root, not in the Cargo root.

It's weird, but only because having this particular project very deep inside
the only dir that Emacs knows how to automatically recognize as a
project is weird.  Look into teaching project.el about "Cargo.toml" files,
it shouldn't be very hard.

You may or may not need "nested" projects, that's an orthogonal
issue.  If you're sure you do need nested or complicated project
setups,  look at [1])

João

[1]: https://github.com/joaotavora/eglot/discussions/1337#discussioncomment-8853117