1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
From: James McCoy <jamessan@debian.org>
Date: Sat, 26 Apr 2025 17:04:11 -0400
Subject: Remove nushell support, since it is not packaged in Debian yet
Supporting nushell would require packaging numerous new crates, and there is currently no benefit to doing so.
Forwarded: not-needed
Signed-off-by: James McCoy <jamessan@debian.org>
---
Cargo.toml | 1 -
cli/Cargo.toml | 1 -
cli/src/main.rs | 2 --
docs/src/cli/complete.md | 2 +-
4 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index a6025bc..de7b161 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -115,7 +115,6 @@ clap = { version = "4.5.23", features = [
"unstable-styles",
] }
clap_complete = "4.5.40"
-clap_complete_nushell = "4.5.5"
ctor = ">= 0.1, < 0.3"
ctrlc = { version = "3.4.5", features = ["termination"] }
dialoguer = { version = "0.11.0", features = ["fuzzy-select"] }
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index da1b1ac..12b9838 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -34,7 +34,6 @@ anyhow.workspace = true
bstr.workspace = true
clap.workspace = true
clap_complete.workspace = true
-clap_complete_nushell.workspace = true
ctor.workspace = true
ctrlc.workspace = true
dialoguer.workspace = true
diff --git a/cli/src/main.rs b/cli/src/main.rs
index 1ebe1d9..825f9a7 100644
--- a/cli/src/main.rs
+++ b/cli/src/main.rs
@@ -482,7 +482,6 @@ pub enum Shell {
Fish,
PowerShell,
Zsh,
- Nushell,
}
impl InitConfig {
@@ -1678,7 +1677,6 @@ impl Complete {
generate(clap_complete::shells::PowerShell, cli, &name, &mut stdout);
}
Shell::Zsh => generate(clap_complete::shells::Zsh, cli, &name, &mut stdout),
- Shell::Nushell => generate(clap_complete_nushell::Nushell, cli, &name, &mut stdout),
}
}
}
diff --git a/docs/src/cli/complete.md b/docs/src/cli/complete.md
index 4c9aabf..88a3667 100644
--- a/docs/src/cli/complete.md
+++ b/docs/src/cli/complete.md
@@ -13,4 +13,4 @@ tree-sitter complete --shell <SHELL> # Aliases: comp
The shell for which to generate the completion script.
-Supported values: `bash`, `elvish`, `fish`, `power-shell`, `zsh`, and `nushell`.
+Supported values: `bash`, `elvish`, `fish`, `power-shell`, and `zsh`.
|