Getting Emacs ada-mode working

It seems to me there are several different ways in which a file tree could be a project (from the ALS point of view):

  • it’s a repo
  • alire.toml present
  • (one) GPR file present
  • none of the above, just a file tree

and I wanted to cater for any of them, in combinations (bar the last, ofc).

I was put off project-vc-extra-root-markers mainly because of the ‘vc’ in the name, and the trouble I was having with project’s default being to look for a repo.

I’ll try the suggestion (without @mgrojo’s adainclude, I don’t see the reason for that!), though a quick check with project-find-file didn’t work for me.