refactor: prettify help page name
This commit is contained in:
parent
35ab6bde42
commit
17f6c6329a
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ const cmds = struct {
|
||||||
pub fn open_help(self: *Self, _: Ctx) Result {
|
pub fn open_help(self: *Self, _: Ctx) Result {
|
||||||
tui.reset_drag_context();
|
tui.reset_drag_context();
|
||||||
try self.create_editor();
|
try self.create_editor();
|
||||||
try command.executeName("open_scratch_buffer", command.fmt(.{ "help.md", @embedFile("help.md") }));
|
try command.executeName("open_scratch_buffer", command.fmt(.{ "help", @embedFile("help.md"), "markdown" }));
|
||||||
tui.need_render();
|
tui.need_render();
|
||||||
}
|
}
|
||||||
pub const open_help_meta = .{ .description = "Open help" };
|
pub const open_help_meta = .{ .description = "Open help" };
|
||||||
|
|
Loading…
Add table
Reference in a new issue