Closed mymedia2 closed 1 year ago
@jamessan Thank you for the review and the explanation. I rewrote the patch to call of the Vim's original has() function and the has_version() method in Python code became shorter.
Wonderful! Thanks for the contribution.
Also thanks to @jamessan for reviewing. What an exemplary piece of open source interaction this contribution was - only I stick out like a sore thumb coming super late to press the merge button. Thanks you both!
It looks Vim 9.0 changed format output of
--version
and no longer prints applied extra patches on a separate line but joins the patch numbers with comma. As @jamessan rightly noted, the has_version method should check whetherpatchlevel
is in set of listed patches.And it is worth mentioning that the exact format is not documented and may change in future.
Fixes: #1514