all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#75421: [PATCH] ; * lisp/progmodes/eglot.el: Add language server for odin
@ 2025-01-07 15:51 me--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2025-01-07 19:09 ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: me--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2025-01-07 15:51 UTC (permalink / raw)
  To: 75421

[-- Attachment #1: Type: text/plain, Size: 97 bytes --]

Hi all,

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

Thanks,

Ellis

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-progmodes-eglot.el-Add-language-server-for-odin.patch --]
[-- Type: text/x-diff; name=0001-lisp-progmodes-eglot.el-Add-language-server-for-odin.patch, Size: 888 bytes --]

From a86df5c50e59e3e24c2daccb1af6017270150953 Mon Sep 17 00:00:00 2001
From: Ellis Kenyo <me@elken.dev>
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)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-07 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-07 15:51 bug#75421: [PATCH] ; * lisp/progmodes/eglot.el: Add language server for odin me--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-07 19:09 ` Stefan Kangas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.