feat: make mode/namespace loading more dynamic and add fallback handling
This commit is contained in:
parent
27613eab1f
commit
94fb5119ef
12 changed files with 152 additions and 130 deletions
|
@ -32,7 +32,7 @@ pub fn create(allocator: Allocator, _: command.Context) !struct { tui.Mode, tui.
|
|||
.start = editor.get_primary().cursor.row + 1,
|
||||
};
|
||||
try self.commands.init(self);
|
||||
const input_handler, const keybind_hints = try keybind.mode.mini.goto.create(allocator, .{
|
||||
const input_handler, const keybind_hints = try keybind.mode("mini/goto", allocator, .{
|
||||
.insert_command = "mini_mode_insert_bytes",
|
||||
});
|
||||
return .{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue