aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Kaludercic2024-02-13 10:38:48 +0100
committerPhilip Kaludercic2024-02-24 11:04:30 +0100
commit477eb882b57b3defd43ea8dd9510cfdf5fd9ee79 (patch)
treeb4e0cc7c36318e219ba6306d5adea919793455f6
parent03fce8401639a1d60bb66bf374d3d44b3331ac8a (diff)
downloademacs-477eb882b57b3defd43ea8dd9510cfdf5fd9ee79.tar.gz
emacs-477eb882b57b3defd43ea8dd9510cfdf5fd9ee79.zip
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).
-rw-r--r--lisp/progmodes/eglot.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 2f32a8e6eda..f341428cac3 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -310,7 +310,10 @@ automatically)."
310 ("vscode-markdown-language-server" "--stdio")))) 310 ("vscode-markdown-language-server" "--stdio"))))
311 (graphviz-dot-mode . ("dot-language-server" "--stdio")) 311 (graphviz-dot-mode . ("dot-language-server" "--stdio"))
312 (terraform-mode . ("terraform-ls" "serve")) 312 (terraform-mode . ("terraform-ls" "serve"))
313 ((uiua-ts-mode uiua-mode) . ("uiua" "lsp"))) 313 ((uiua-ts-mode uiua-mode) . ("uiua" "lsp"))
314 (sml-mode
315 . ,(lambda (_interactive project)
316 (list "millet-ls" (project-root project)))))
314 "How the command `eglot' guesses the server to start. 317 "How the command `eglot' guesses the server to start.
315An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE 318An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE
316identifies the buffers that are to be managed by a specific 319identifies the buffers that are to be managed by a specific