plugins
plugins copied to clipboard
chore: add type hints for `git.yazi`
This PR adds type hints to git.yazi, making development more convenient.
I hope to continue making progress on #88 and the following PRs, and I'd appreciate it if you could also take a moment to review it.
Thank you for continuing to follow up on this work!
Is it possible to separate the type definitions into a separate type file, such as type.lua?
There aren't many things that can be moved — just classes and an alias — so I don't think it's worth adding a separate file just for that. But it's up to you, it's an independent commit.