refactor: clean-up command naming

This commit is contained in:
CJ van den Berg 2024-08-18 17:59:28 +02:00
parent f9c029f617
commit ea31e414ee
11 changed files with 55 additions and 55 deletions

View file

@ -257,7 +257,7 @@ pub fn get_mru_position(self: *Self, from: tp.pid_ref, file_path: []const u8) !v
for (self.files.items) |*file| {
if (!std.mem.eql(u8, file.path, file_path)) continue;
if (file.row != 0)
try from.send(.{ "cmd", "goto", .{ file.row + 1, file.col + 1 } });
try from.send(.{ "cmd", "goto_line_and_column", .{ file.row + 1, file.col + 1 } });
return;
}
}