]> git.eshelyaron.com Git - emacs.git/commitdiff
Add "nixd" LSP server to Eglot
authorEli Zaretskii <eliz@gnu.org>
Thu, 22 Jun 2023 16:33:31 +0000 (19:33 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 22 Jun 2023 16:33:31 +0000 (19:33 +0300)
* lisp/progmodes/eglot.el (eglot-server-programs): Add "nixd".
Patch by Brian Leung <leungbk@posteo.net>.  (Bug#64214)

lisp/progmodes/eglot.el

index 00f2e547e054a299dd591fd012da1f65d73d2a7e..890f1e91b860d26d4d0be98c253f1a1ede5babea 100644 (file)
@@ -230,7 +230,7 @@ chosen (interactively or automatically)."
                                  . ,(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 '("nil" "rnix-lsp" "nixd")))
                                 (gdscript-mode . ("localhost" 6008))
                                 ((fortran-mode f90-mode) . ("fortls"))
                                 (futhark-mode . ("futhark" "lsp"))