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
This commit is contained in:
Ellis Kenyo 2025-01-07 15:43:58 +00:00 committed by Stefan Kangas
parent ee1034422b
commit 4210e06564

View file

@ -341,7 +341,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