From: skykanin via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 67850@debbugs.gnu.org
Cc: "João Távora" <joaotavora@gmail.com>
Subject: bug#67850: [PATCH] eglot: register uiua lsp server
Date: Sat, 16 Dec 2023 15:16:38 +0000 [thread overview]
Message-ID: <bdm827wVQQ0S9oM_rAZ3xhHCrP5nzD1hrJS3wCZ-XOZHSevhm5lqz6jpRyR9rBu5PbURmomL20XtCjdgLlcoe1dt4rD3_Pkp8XL0be6QV9Y=@proton.me> (raw)
[-- 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
next reply other threads:[~2023-12-16 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-16 15:16 skykanin via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-12-16 18:39 ` bug#67850: [PATCH] eglot: register uiua lsp server Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='bdm827wVQQ0S9oM_rAZ3xhHCrP5nzD1hrJS3wCZ-XOZHSevhm5lqz6jpRyR9rBu5PbURmomL20XtCjdgLlcoe1dt4rD3_Pkp8XL0be6QV9Y=@proton.me' \
--to=bug-gnu-emacs@gnu.org \
--cc=67850@debbugs.gnu.org \
--cc=joaotavora@gmail.com \
--cc=skykanin@proton.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).