Merge branch 'master' into zig-0.14
This commit is contained in:
commit
5fc2247bc3
4 changed files with 21 additions and 5 deletions
|
@ -4073,7 +4073,10 @@ pub const Editor = struct {
|
|||
} else if (ctx.args.match(.{tp.extract(&file_path)}) catch false) {
|
||||
try self.open_scratch(file_path, "", null);
|
||||
self.clamp();
|
||||
} else return error.InvalidOpenScratchBufferArgument;
|
||||
} else {
|
||||
try self.open_scratch("*scratch*", "", null);
|
||||
self.clamp();
|
||||
}
|
||||
}
|
||||
pub const open_scratch_buffer_meta: Meta = .{ .arguments = &.{ .string, .string } };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue