summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornkitsaini2023-08-20 17:51:08 +0000
committerGitHub2023-08-20 17:51:08 +0000
commit2767459f89382f2b664c2a9f5ff287f3c48a896d (patch)
tree53f7b5baa4880173857c82e2d4515a27488e75d3
parent01a1e5ec2a8c5b81da1360746dad0a96cd88ae8e (diff)
Remove path completions for `:new` command (#8010)
-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",