vimdaloo.version.NvimVersion
¶
The semantic version singleton populated from nvim
-v
and vim.version()
-- SemanticVersion parent class gets populated from:
-- io.popen(vim.v.progpath .. ' -v')
-- NvimVersion class gets further populated from:
-- vim.version()
-- NVIM v0.7.0
{
api_compatible = 0,
api_level = 9,
api_prerelease = false,
major = 0,
minor = 7,
patch = 0
}
-- NVIM v0.8.0-dev+374-ge13dcdf16
{
api_compatible = 0,
api_level = 10,
api_prerelease = true,
major = 0,
minor = 8,
patch = 0,
prerelease = true
}
instance() | singleton |
getApiCompatible() | api_compatible getter |
getApiLevel() | api_level getter |
isApiPrerelease() | api_prerelease getter |
isPrerelease() | prerelease getter |
singleton
(vimdaloo.version.NvimVersion) |
api_compatible getter
(number) | api_compatible the api compatible |
api_level getter
(number) | api_level the api level |
api_prerelease getter
(boolean) | api_prerelease if api prerelease |
prerelease getter
(boolean) | prerelease if prerelease |