Skip to content

Conversation

dk949
Copy link

@dk949 dk949 commented Jul 23, 2025

This is inline with documentation and the way diff expects it's return
values.

This is a breaking change, however, I think it will mostly affect hooks,
not the core functionality. Namely this will change the value passed for
winnr to post_open and may cause block_end to not be called.

This also only people who were using open as a function, rather than a
string, and have already swapped the two values.

Also updated type of files in README. This is not a breaking change as using the argument as a string[] will have resulted in an error.

dk949 added 2 commits July 23, 2025 03:08
This is inline with documentation and the way `diff` expects it's return
values.

This is a breaking change, however, I think it will mostly affect hooks,
not the core functionality. Namely this will change the value passed for
`winnr` to `post_open` and may cause `block_end` to not be called.

This also only people who were using `open` as a function, rather than a
string, and have already swapped the two values.
It was previously stated as `string[]`, but the actual type passed to
`open` is `Flatten.BufInfo[]`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant