aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-07-30 16:46:48 -0700
committerGravatar Tom Willemse2026-07-30 16:46:48 -0700
commit16920ab163f940748fa039a32c07bc0b2f567a67 (patch)
tree0386958ebe47920bf725da0c540cdb4cc03b6538
parent0190ed9d80dd8625625529eeb52609a7ed8f2e00 (diff)
downloadnew-dotfiles-16920ab163f940748fa039a32c07bc0b2f567a67.tar.gz
new-dotfiles-16920ab163f940748fa039a32c07bc0b2f567a67.zip
emacs: Add eglot configuration for org-mode
-rw-r--r--emacs/.emacs.d/init.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 49442ad..1a82ec6 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -929,3 +929,16 @@ Now the pull app.
(expand-file-name "~/code/diamond-interactive/pull-app")
'pull-app))
#+end_src
+
+* Eglot
+
+Set up a server program for Eglot for org-mode.
+
+#+begin_src emacs-lisp
+ (use-package eglot
+ :if (eq system-type 'darwin)
+ :ensure-system-package (harper-ls . harper)
+ :config
+ (add-to-list 'eglot-server-programs
+ '(org-mode . ("harper-ls" "--stdio"))))
+#+end_src