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

Line numbers break middle panel in Yazi v0.3.3 #11

Closed
Anomalocaridid opened this issue Oct 30, 2024 · 2 comments
Closed

Line numbers break middle panel in Yazi v0.3.3 #11

Anomalocaridid opened this issue Oct 30, 2024 · 2 comments

Comments

@Anomalocaridid
Copy link

In Yazi v0.3.3, when setting show_numbers to anything but "none", the current directory's panel breaks.

Example:

require("relative-motions"):setup { show_numbers = "relative_absolute" }

However, the plugin still works otherwise, including if show_motion is set as long as show_numbers is not set or set to "none".

@dedukun
Copy link
Owner

dedukun commented Oct 31, 2024

Yeah this was already noted in #1 (comment) but thanks for creating a dedicated issue, the problem is that Yazi upstream changed the plugins API (in sxyazi/yazi#1257 and sxyazi/yazi#1863), and the latest commits that I did adapt the plugin to work with it.

Seeing that you are using Yazi v0.3.3, please use branch https://github.com/dedukun/relative-motions.yazi/tree/0.3.3 from the plugin (if you are using ya pack, you can force the commit of the plugin like described here).

If that doesn't work, please let me know I will look further into it.

@Anomalocaridid
Copy link
Author

Using that branch fixed it. Thank you!

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

No branches or pull requests

2 participants