Subject: Re: bug#73736: 31.0.50; project and therefore eglot don't work without git

From: Dmitry Gutov <[email-masked]>
Date: Thu, 10 Oct 2024 21:42:20 +0300

Hi!

On 10/10/2024 19:44, Eric Gillespie wrote:
> I think the problem here is that eglot needs to provide a project
> root to rust-analyzer, but 'project' only knows how to find .git
> directories, which I don't have in this case.

This isn't very plug-and-play, but you can customize 
project-vc-extra-root-markers to include any other files that 
distinguish the root of a project. For example, Cargo.toml.