Subject: bug#75421: closed (Re: bug#75421: [PATCH] ; * lisp/progmodes/eglot.el: Add language server for odin)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 07 Jan 2025 19:11:02 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
75421: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75421
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#75421: [PATCH] ; * lisp/progmodes/eglot.el: Add language server for odin
From: Stefan Kangas <[email-masked]>
To: [email-masked], [email-masked]
Date: Tue, 7 Jan 2025 13:09:54 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 30.1

me--- via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <[email-masked]> writes:

> Hi all,
>
> Small patch attached to add support for Odin's language server to Eglot.

Thanks, installed on the emacs-30 branch with some minor fixups (commit
4210e065648).  Closing.

Subject: [PATCH] ; * lisp/progmodes/eglot.el: Add language server for odin
From: [email-masked]
To: Bug-gnu Emacs <[email-masked]>
Date: Tue, 07 Jan 2025 15:51:22 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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)