From fe9aec433f8567006c933ebeb9e4d922694632ea Mon Sep 17 00:00:00 2001 From: Ankit Saini Date: Sun, 20 Aug 2023 15:07:09 +0530 Subject: [PATCH] chore: Remove path completions for :new command --- helix-term/src/commands/typed.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 1c65fd54aeab..4c7314b664cc 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",