diff --git a/config-mac.el b/config-mac.el index f75d1f9..d548f35 100644 --- a/config-mac.el +++ b/config-mac.el @@ -1,5 +1,10 @@ ;;; config-mac.el --- Mac-specific configuration -*- lexical-binding: t; -*- +;; Seeded from mac repo 157ed9a, then edited locally. This file is loaded +;; only on darwin (see the dispatch at the end of config.el); it is the +;; home for anything with a macOS path, macOS binary, or macOS-hosted +;; backend. It is no longer a pristine vendor copy -- treat it as ours. + ;; Enable tool use in gptel (setq gptel-use-tools t) @@ -204,4 +209,17 @@ Returns answer with org-roam links to sources." (when yas-was-active (yas-minor-mode 1))) (message "No @glm-search or @gptel-search query found on current line")))) +;; Elixir language server. Moved out of the shared config.el, where this +;; macOS path was hard-coded and therefore dead on any other machine. +(with-eval-after-load 'eglot + (add-to-list 'eglot-server-programs + '(elixir-ts-mode + . ("sh" "/Users/willem/.elixir-ls/release/language_server.sh")))) + +;; Blog export destinations. Kept in this file rather than in the shared +;; config.el because the jekyll checkout sits under ~/MyDocuments on macOS and +;; under ~/Documents on Linux. Override in config-local.el if it moves. +(setq org-roam-export-blog-firehose-root "~/dev/elixir/firehose" + org-roam-export-jekyll-root "~/MyDocuments/qwan/sites/qwaneu.github.io") + ;;; config-mac.el ends here