unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64214: [PATCH] eglot: Add nixd to eglot-server-programs
@ 2023-06-22  1:29 Brian Leung
  2023-06-22 16:34 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Leung @ 2023-06-22  1:29 UTC (permalink / raw)
  To: 64214; +Cc: João Távora

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

Tags: patch

See attached.



In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, 
cairo
version 1.16.0, Xaw3d scroll bars)
Repository revision: 1b0348d95934a66d9991a7331ab55e1b9a6c1367
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 
11.0.12101008
System Description: NixOS 23.11 (Tapir)

Configured using:
 'configure
 --prefix=/nix/store/px9y6p648cy1h6hhw6s62kmrvvwhjs4m-emacs-git-20230617.0
 --disable-build-details --with-modules --with-x-toolkit=lucid
 --with-xft --with-cairo --with-native-compilation 
 --with-tree-sitter'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-eglot-Add-nixd-to-eglot-server-programs.patch --]
[-- Type: text/patch, Size: 1246 bytes --]

From ff6036d9c5455616fe988fcdaca9ca1ce607fa13 Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@posteo.net>
Date: Wed, 21 Jun 2023 09:47:05 -0700
Subject: [PATCH] eglot: Add nixd to eglot-server-programs

* lisp/progmodes/eglot.el (eglot-server-programs): Add the nixd
language server for nix-mode.
---
 lisp/progmodes/eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 7d5d786dea3..72b3ac9206d 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -230,7 +230,7 @@ eglot-server-programs
                                  . ,(eglot-alternatives '("digestif" "texlab")))
                                 (erlang-mode . ("erlang_ls" "--transport" "stdio"))
                                 ((yaml-ts-mode yaml-mode) . ("yaml-language-server" "--stdio"))
-                                (nix-mode . ,(eglot-alternatives '("nil" "rnix-lsp")))
+                                (nix-mode . ,(eglot-alternatives '("nixd" "nil" "rnix-lsp")))
                                 (nickel-mode . ("nls"))
                                 (gdscript-mode . ("localhost" 6008))
                                 ((fortran-mode f90-mode) . ("fortls"))
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#64214: [PATCH] eglot: Add nixd to eglot-server-programs
  2023-06-22  1:29 bug#64214: [PATCH] eglot: Add nixd to eglot-server-programs Brian Leung
@ 2023-06-22 16:34 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-06-22 16:34 UTC (permalink / raw)
  To: Brian Leung; +Cc: 64214-done, joaotavora

> Cc: João Távora <joaotavora@gmail.com>
> From: Brian Leung <leungbk@posteo.net>
> Date: Thu, 22 Jun 2023 01:29:15 +0000
> 
> See attached.

Thanks.  I installed this on the emacs-29 branch, and I've made this
new server be the last, not the first, in the alternatives.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-22 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-22  1:29 bug#64214: [PATCH] eglot: Add nixd to eglot-server-programs Brian Leung
2023-06-22 16:34 ` Eli Zaretskii

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).