on master help sign in
Remove path completions for `:new` command (#8010)
commit2767459f89382f2b664c2a9f5ff287f3c48a896d authornkitsaini <74284503+nkitsaini@users.noreply.github.com> dateSun 20 Aug 2023, 23:21 (3 years ago) parent01a1e5e
1 file changed+1−3
helix-term/src/commands/typed.rs+1−3
helix-term/src/commands/typed.rs+1−3
@@ -2408,9 +2408,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
24082408 aliases: &["n"],
24092409 doc: "Create a new scratch buffer.",
24102410 fun: new_file,
2411− // TODO: This seems to complete with a filename, but doesn't use that filename to
2412− // set the path of the newly created buffer.
2413− signature: CommandSignature::positional(&[completers::filename]),
2411+ signature: CommandSignature::none(),
24142412 },
24152413 TypableCommand {
24162414 name: "format",