Remove path completions for `:new` command (#8010)

pull/8024/head
nkitsaini 1 year ago committed by GitHub
parent 01a1e5ec2a
commit 2767459f89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2408,9 +2408,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
aliases: &["n"], aliases: &["n"],
doc: "Create a new scratch buffer.", doc: "Create a new scratch buffer.",
fun: new_file, fun: new_file,
// TODO: This seems to complete with a filename, but doesn't use that filename to signature: CommandSignature::none(),
// set the path of the newly created buffer.
signature: CommandSignature::positional(&[completers::filename]),
}, },
TypableCommand { TypableCommand {
name: "format", name: "format",

Loading…
Cancel
Save