Subject: [PATCH] ; * lisp/progmodes/eglot.el: Add language server for odin

From: [email-masked]
Date: Tue, 07 Jan 2025 15:51:22 +0000

Hi all,

Small patch attached to add support for Odin's language server to Eglot.

Thanks,

Ellis

From a86df5c50e59e3e24c2daccb1af6017270150953 Mon Sep 17 00:00:00 2001
From: Ellis Kenyo <[email-masked]>
Date: Tue, 7 Jan 2025 15:43:58 +0000
Subject: [PATCH] ; * lisp/progmodes/eglot.el: Add language server for odin

---
 lisp/progmodes/eglot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 858946d6cc4..46132419a1d 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -245,6 +245,7 @@ eglot-server-programs
   ;; those entries can be simplified, but we keep them for when
   ;; `eglot.el' is installed via GNU ELPA in an older Emacs.
   `(((rust-ts-mode rust-mode) . ("rust-analyzer"))
+    ((odin-mode odin-ts-mode) . ("ols"))
     ((cmake-mode cmake-ts-mode) . ("cmake-language-server"))
     (vimrc-mode . ("vim-language-server" "--stdio"))
     ((python-mode python-ts-mode)
-- 
2.39.5 (Apple Git-154)