The old hard-coded ~/.elixir-ls path no longer exists on this machine,
so eglot had no usable Elixir server (and .heex files had none at all).
Mirror the Linux logic from config-linux.el: prefer `expert` (installed
at /opt/homebrew/bin/expert), else any language_server.sh on PATH, else
leave eglot at its default. Covers elixir-mode, elixir-ts-mode and
heex-ts-mode, closing the heex gap left when b425df9 moved server
ownership to the OS files.
Verified on the mac only.
Pure additions (18 lines, no deletions) on top of upstream's config-mac.el:
- header note that the file is seeded from 0789326 and is now owned here,
so re-syncing it with `git checkout mac/master -- config-mac.el' is no
longer safe
- the eglot entry for elixir-ts-mode that was hard-coded in the Linux repo's
shared config.el as /Users/willem/.elixir-ls/... It belongs on the mac
side; the Linux counterpart is in config-linux.el
- blog export roots, with ~/MyDocuments/... as on macOS
This file only loads on darwin, so nothing changes for the Linux machine.