From: Ellis Kenyo Date: Tue, 7 Jan 2025 15:43:58 +0000 (+0000) Subject: Add language server for Odin X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8bb844795d33ab172d782d61f370285b2d37f334;p=emacs.git 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) --- 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