From 2767459f89382f2b664c2a9f5ff287f3c48a896d Mon Sep 17 00:00:00 2001 From: nkitsaini <74284503+nkitsaini@users.noreply.github.com> Date: Sun, 20 Aug 2023 23:21:08 +0530 Subject: [PATCH] Remove path completions for `:new` command (#8010) --- 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 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",