From 8d32e189594756ad49c7b0fe3b3aad08abfc78e5 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Fri, 8 May 2026 05:42:25 -0700 Subject: [PATCH] Add harper to eglot in init.el --- init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.el b/init.el index 7e489b4..89062ff 100644 --- a/init.el +++ b/init.el @@ -1587,6 +1587,8 @@ With PROJECT, give diagnostics for all buffers in the current project." (advice-add 'eglot--workspace-configuration-plist :around #'my/-eglot-fix-dir-locals-in-remote-dirs) + (add-to-list 'eglot-server-programs + (cons '(text-mode) '("harper-ls" "--stdio"))) (add-to-list 'eglot-server-programs (cons '(c-mode c-ts-mode c++-mode c++-ts-mode objc-mode) '("clangd" "--all-scopes-completion" "--background-index"