feat(lua): add semver api

This commit is contained in:
Kelly Lin
2023-02-19 22:33:57 +11:00
committed by Justin M. Keyes
parent f9a46391ab
commit 0e7196438d
7 changed files with 965 additions and 15 deletions

View File

@@ -69,6 +69,9 @@ setmetatable(vim, {
t[key] = val
return t[key]
end
elseif key == 'version' then
t[key] = require('vim.version')
return t[key]
end
end,
})