refactor: remove verbose log messages in mainview
This commit is contained in:
parent
008950255b
commit
198ee29abe
1 changed files with 0 additions and 4 deletions
|
|
@ -447,8 +447,6 @@ const cmds = struct {
|
||||||
pub const navigate_split_vertical_meta: Meta = .{ .arguments = &.{.object} };
|
pub const navigate_split_vertical_meta: Meta = .{ .arguments = &.{.object} };
|
||||||
|
|
||||||
pub fn navigate(self: *Self, ctx: Ctx) Result {
|
pub fn navigate(self: *Self, ctx: Ctx) Result {
|
||||||
const logger = log.logger("navigate");
|
|
||||||
defer logger.deinit();
|
|
||||||
tui.reset_drag_context();
|
tui.reset_drag_context();
|
||||||
const frame = tracy.initZone(@src(), .{ .name = "navigate" });
|
const frame = tracy.initZone(@src(), .{ .name = "navigate" });
|
||||||
defer frame.deinit();
|
defer frame.deinit();
|
||||||
|
|
@ -531,12 +529,10 @@ const cmds = struct {
|
||||||
.path = try self.allocator.dupe(u8, f),
|
.path = try self.allocator.dupe(u8, f),
|
||||||
.goto_args = try self.allocator.dupe(u8, goto_args),
|
.goto_args = try self.allocator.dupe(u8, goto_args),
|
||||||
};
|
};
|
||||||
logger.print("navigating to: {s} with restore_last_cursor_position", .{f});
|
|
||||||
|
|
||||||
try project_manager.get_mru_position(self.allocator, f, ctx_);
|
try project_manager.get_mru_position(self.allocator, f, ctx_);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
logger.print("navigating to: {s}", .{f});
|
|
||||||
|
|
||||||
return cmds.navigate_complete(self, same_file, f, goto_args, line, column, offset);
|
return cmds.navigate_complete(self, same_file, f, goto_args, line, column, offset);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue