all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: me--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 75421@debbugs.gnu.org
Subject: bug#75421: [PATCH] ; * lisp/progmodes/eglot.el: Add language server for odin
Date: Tue, 07 Jan 2025 15:51:22 +0000	[thread overview]
Message-ID: <64f782dcb5fcda1e88ebd34286996651@elken.dev> (raw)

[-- 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)


             reply	other threads:[~2025-01-07 15:51 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=64f782dcb5fcda1e88ebd34286996651@elken.dev \
    --to=bug-gnu-emacs@gnu.org \
    --cc=75421@debbugs.gnu.org \
    --cc=me@elken.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.