* bug#67850: [PATCH] eglot: register uiua lsp server
@ 2023-12-16 15:16 skykanin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-16 18:39 ` Stefan Kangas
0 siblings, 1 reply; 2+ messages in thread
From: skykanin via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-12-16 15:16 UTC (permalink / raw)
To: 67850; +Cc: João Távora
[-- Attachment #1: Type: text/plain, Size: 222 bytes --]
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/
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-add-uiua-language-server.patch --]
[-- Type: text/x-patch; name=0001-add-uiua-language-server.patch, Size: 1098 bytes --]
From 40e96600dd98fcab38a38daf79fe5acbcecd247a Mon Sep 17 00:00:00 2001
From: skykanin <3789764+skykanin@users.noreply.github.com>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#67850: [PATCH] eglot: register uiua lsp server
2023-12-16 15:16 bug#67850: [PATCH] eglot: register uiua lsp server skykanin via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-12-16 18:39 ` Stefan Kangas
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2023-12-16 18:39 UTC (permalink / raw)
To: skykanin, 67850-done; +Cc: João Távora
Version: 29.2
skykanin via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> 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?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-16 18:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-16 15:16 bug#67850: [PATCH] eglot: register uiua lsp server skykanin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-16 18:39 ` Stefan Kangas
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).