feat: don't ask for file type in create_new_file if we have a language override
This commit is contained in:
parent
1cdfa834b9
commit
47c7b37968
1 changed files with 2 additions and 1 deletions
|
@ -465,6 +465,7 @@ const cmds = struct {
|
|||
}
|
||||
}
|
||||
try command.executeName("create_scratch_buffer", command.fmt(.{name.items}));
|
||||
if (tp.env.get().str("language").len == 0)
|
||||
try command.executeName("change_file_type", .{});
|
||||
}
|
||||
pub const create_new_file_meta = .{ .description = "Create: New File…" };
|
||||
|
|
Loading…
Add table
Reference in a new issue