Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(vim.version): incorrect version.cmp() | Justin M. Keyes | 2023-03-06 |
| | | | | | | | | | Problem: If major<major but minor>minor, cmp_version_core returns 1 Solution: - Fix logic in cmp_version_core - Delete most eq()/gt()/lt() tests, they are redundant. | ||
* | refactor(vim.version): cleanup | Justin M. Keyes | 2023-03-06 |
| | | | | | | | - version.cmp(): assert valid version - add test for loading vim.version (the other tests use shared.lua in the test runner) - reduce test scopes, reword test descriptions | ||
* | feat(lua): add semver api | Kelly Lin | 2023-03-06 |