Skip to content

Commit

Permalink
Remove path completions for :new command (#8010)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkitsaini authored Aug 20, 2023
1 parent 01a1e5e commit 2767459
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions helix-term/src/commands/typed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2767459

Please sign in to comment.