Skip to content

Commit

Permalink
Remove path completions for :new command (helix-editor#8010)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkitsaini authored and mtoohey31 committed Jun 2, 2024
1 parent 86a3e19 commit d1235f0
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 d1235f0

Please sign in to comment.