Subject: bug#68823: [PATCH] Add nushell language server

From: nibon7 <[email-masked]>
Date: Wed, 31 Jan 2024 00:07:00 +0800

This patch adds lsp support for nushell.

See https://github.com/joaotavora/eglot/pull/1346.

From 0b05c5f3e9da027cef429964d270df72ab89b0ac Mon Sep 17 00:00:00 2001
From: nibon7 <[email-masked]>
Date: Thu, 18 Jan 2024 00:01:48 +0800
Subject: [PATCH] Add nushell language server

---
 lisp/progmodes/eglot.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index beba268f923..5de1420b741 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -284,6 +284,7 @@ automatically)."
                                 ((yaml-ts-mode yaml-mode) . ("yaml-language-server" "--stdio"))
                                 (nix-mode . ,(eglot-alternatives '("nil" "rnix-lsp" "nixd")))
                                 (nickel-mode . ("nls"))
+                                ((nushell-mode nushell-ts-mode) . ("nu" "--lsp"))
                                 (gdscript-mode . ("localhost" 6008))
                                 ((fortran-mode f90-mode) . ("fortls"))
                                 (futhark-mode . ("futhark" "lsp"))
-- 
2.43.0