Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the OnBytesArgs documentation #194

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions crates/api/src/opts/buf_attach.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ pub type OnLinesArgs = (
/// - `c`: the value of the buffer-local `b:changedtick` variable;
/// - `d`: start row of the changed text (0-indexed);
/// - `e`: start column of the changed text;
/// - `f`: byte offset of the changed text from the start of the buffer;
/// - `g`: number of rows deleted;
/// - `h`: number of columns deleted;
/// - `i`: number of bytes deleted;
/// - `j`: number of rows added;
/// - `k`: number of columns added;
/// - `l`: number of bytes added;
/// - `f`: byte offset of the changed text (from the start of the buffer);
/// - `g`: old end row of the changed text (offset from start row);
/// - `h`: old end column of the changed text (if old end row = 0, offset from start column);
/// - `i`: old end byte length of the changed text;
/// - `j`: new end row of the changed text (offset from start row);
/// - `k`: new end column of the changed text (if new end row = 0, offset from start column);
/// - `l`: new end byte length of the changed text;
pub type OnBytesArgs = (
String,
Buffer,
Expand Down
Loading