Add sml-mode entry to 'eglot-server-programs'

* lisp/progmodes/eglot.el (eglot-server-programs): Use the
"millet" LSP server (https://github.com/azdavis/millet).
This commit is contained in:
Philip Kaludercic 2024-02-13 10:38:48 +01:00
parent 03fce84016
commit 477eb882b5

View file

@ -310,7 +310,10 @@ automatically)."
("vscode-markdown-language-server" "--stdio"))))
(graphviz-dot-mode . ("dot-language-server" "--stdio"))
(terraform-mode . ("terraform-ls" "serve"))
((uiua-ts-mode uiua-mode) . ("uiua" "lsp")))
((uiua-ts-mode uiua-mode) . ("uiua" "lsp"))
(sml-mode
. ,(lambda (_interactive project)
(list "millet-ls" (project-root project)))))
"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