Unnamed repository; edit this file 'description' to name the repository.
Remove path completions for `:new` command (#8010)
nkitsaini 2023-08-21
parent 01a1e5e · commit 2767459
-rw-r--r--helix-term/src/commands/typed.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index 1c65fd54..4c7314b6 100644
--- a/helix-term/src/commands/typed.rs
+++ b/helix-term/src/commands/typed.rs
@@ -2408,9 +2408,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
aliases: &["n"],
doc: "Create a new scratch buffer.",
fun: new_file,
- // TODO: This seems to complete with a filename, but doesn't use that filename to
- // set the path of the newly created buffer.
- signature: CommandSignature::positional(&[completers::filename]),
+ signature: CommandSignature::none(),
},
TypableCommand {
name: "format",