From 8bb844795d33ab172d782d61f370285b2d37f334 Mon Sep 17 00:00:00 2001 From: Ellis Kenyo Date: Tue, 7 Jan 2025 15:43:58 +0000 Subject: [PATCH] Add language server for Odin * lisp/progmodes/eglot.el (eglot-server-programs): Add language server for the Odin programming language. (Bug#75421) Copyright-paperwork-exempt: yes (cherry picked from commit 4210e065648dcc4fd7fbc22298047d19d679c84f) --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 7313f2876d2..b8ce0f9811c 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -339,7 +339,8 @@ automatically)." (sml-mode . ,(lambda (_interactive project) (list "millet-ls" (project-root project)))) - ((blueprint-mode blueprint-ts-mode) . ("blueprint-compiler" "lsp"))) + ((blueprint-mode blueprint-ts-mode) . ("blueprint-compiler" "lsp")) + ((odin-mode odin-ts-mode) . ("ols"))) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE identifies the buffers that are to be managed by a specific -- 2.39.5