Subject: bug#67850: closed (Re: bug#67850: [PATCH] eglot: register uiua lsp server)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 16 Dec 2023 18:40:02 +0000

Your bug report

#67850: [PATCH] eglot: register uiua lsp server

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
67850: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67850
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#67850: [PATCH] eglot: register uiua lsp server
From: Stefan Kangas <[email-masked]>
To: skykanin <[email-masked]>, [email-masked]
Cc: João Távora <[email-masked]>
Date: Sat, 16 Dec 2023 10:39:05 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 29.2

skykanin via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <[email-masked]> writes:

> Uiua [1] is a stack based array programming language descendant from
> APL. It has a built in LSP server in the executable and so I've added
> a patch for registering it as an LSP server in eglot.
>
> [1]: https://www.uiua.org/

Thanks, installed on emacs-29.

BTW, would you like to volunteer for adding uiua-mode and uiua-ts-mode
to NonGNU ELPA?

Subject: [PATCH] eglot: register uiua lsp server
From: skykanin <[email-masked]>
To: "[email-masked]" <[email-masked]>
Cc: João Távora <[email-masked]>
Date: Sat, 16 Dec 2023 15:16:38 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Uiua [1] is a stack based array programming language descendant from APL. It has a built in LSP server in the executable and so I've added a patch for registering it as an LSP server in eglot.

[1]: https://www.uiua.org/

From 40e96600dd98fcab38a38daf79fe5acbcecd247a Mon Sep 17 00:00:00 2001
From: skykanin <[email-masked]>
Date: Sat, 16 Dec 2023 16:08:57 +0100
Subject: [PATCH] add uiua language server

---
 eglot.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 1e0bcd3..a33a5b9 100644
--- a/eglot.el
+++ b/eglot.el
@@ -254,7 +254,8 @@ chosen (interactively or automatically)."
                                  . ,(eglot-alternatives
                                      '(("marksman" "server")
                                        ("vscode-markdown-language-server" "--stdio"))))
-                                (graphviz-dot-mode . ("dot-language-server" "--stdio")))
+                                (graphviz-dot-mode . ("dot-language-server" "--stdio"))
+                                ((uiua-ts-mode uiua-mode) . ("uiua" "lsp")))
   "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.42.0