* bug#69094: [PATCH] Add sml-mode entry to 'eglot-server-programs'
@ 2024-02-13 9:40 Philip Kaludercic
2024-02-24 9:29 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Philip Kaludercic @ 2024-02-13 9:40 UTC (permalink / raw)
To: 69094; +Cc: joaotavora
[-- Attachment #1: Type: text/plain, Size: 134 bytes --]
There is a new LSP server for Standard ML; it's not complete yet, it
appears to work without any issues when I built it from source:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] Add sml-mode entry to 'eglot-server-programs' --]
[-- Type: text/x-patch, Size: 1427 bytes --]
From c044db0dc8cc95fd7c28011515bf80e3319dabf4 Mon Sep 17 00:00:00 2001
From: Philip Kaludercic <philipk@posteo.net>
Date: Tue, 13 Feb 2024 10:38:48 +0100
Subject: [PATCH] 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).
---
lisp/progmodes/eglot.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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 @@ eglot-server-programs
("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
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#69094: [PATCH] Add sml-mode entry to 'eglot-server-programs'
2024-02-13 9:40 bug#69094: [PATCH] Add sml-mode entry to 'eglot-server-programs' Philip Kaludercic
@ 2024-02-24 9:29 ` Eli Zaretskii
2024-02-24 10:06 ` Philip Kaludercic
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2024-02-24 9:29 UTC (permalink / raw)
To: Philip Kaludercic; +Cc: 69094, joaotavora
> Cc: joaotavora@gmail.com
> From: Philip Kaludercic <philipk@posteo.net>
> Date: Tue, 13 Feb 2024 09:40:56 +0000
>
> There is a new LSP server for Standard ML; it's not complete yet, it
> appears to work without any issues when I built it from source:
There were no comments, so please feel free to install on master.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#69094: [PATCH] Add sml-mode entry to 'eglot-server-programs'
2024-02-24 9:29 ` Eli Zaretskii
@ 2024-02-24 10:06 ` Philip Kaludercic
0 siblings, 0 replies; 3+ messages in thread
From: Philip Kaludercic @ 2024-02-24 10:06 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: joaotavora, 69094-done
Eli Zaretskii <eliz@gnu.org> writes:
>> Cc: joaotavora@gmail.com
>> From: Philip Kaludercic <philipk@posteo.net>
>> Date: Tue, 13 Feb 2024 09:40:56 +0000
>>
>> There is a new LSP server for Standard ML; it's not complete yet, it
>> appears to work without any issues when I built it from source:
>
> There were no comments, so please feel free to install on master.
>
> Thanks.
Done, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-24 10:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-13 9:40 bug#69094: [PATCH] Add sml-mode entry to 'eglot-server-programs' Philip Kaludercic
2024-02-24 9:29 ` Eli Zaretskii
2024-02-24 10:06 ` Philip Kaludercic
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.