Class vimdaloo.version.NvimVersion

Class Hierarchy

Details

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
}

API

Synopsis

Functions
instance()

singleton

getApiCompatible()

api_compatible getter

getApiLevel()

api_level getter

isApiPrerelease()

api_prerelease getter

isPrerelease()

prerelease getter

instance(self)

singleton

Return Values
(vimdaloo.version.NvimVersion)
getApiCompatible(self)

api_compatible getter

Return Values
(number)

api_compatible the api compatible

getApiLevel(self)

api_level getter

Return Values
(number)

api_level the api level

isApiPrerelease(self)

api_prerelease getter

Return Values
(boolean)

api_prerelease if api prerelease

isPrerelease(self)

prerelease getter

Return Values
(boolean)

prerelease if prerelease