vimdaloo.version
¶
The vimdaloo.version
submodule.
Version convenience functions.
setup() | Initializes the |
lua() | returns the singleton LuaVersion object |
luajit() | returns the singleton LuaJITVersion object |
nvim() | returns the singleton NvimVersion object |
vimdaloo() | returns the singleton VimdalooVersion object |
versions() | returns a table of singleton version objects |
values() | returns a table of version values |
string() | returns combined versions string |
print() | prints combined versions string |
notify() | notifies combined versions string via |
Initializes the version
submodule. By default called automatically by vimdaloo.setup(config)
.
config | (table) | optional custom user configuration |
returns the singleton LuaVersion object
(vimdaloo.version.LuaVersion) |
returns the singleton LuaJITVersion object
(vimdaloo.version.LuaJITVersion) |
returns the singleton NvimVersion object
(vimdaloo.version.NvimVersion) |
returns the singleton VimdalooVersion object
(vimdaloo.version.VimdalooVersion) |
returns a table of singleton version objects
(table) | { lua = vimdaloo.version.LuaVersion, luajit = vimdaloo.version.LuaJITVersion, nvim = vimdaloo.version.NvimVersion, vimdaloo = vimdaloo.version.VimdalooVersion } |
returns a table of version values
(table) | e.g. { lua = "5.1", luajit = "2.1.0-beta3", nvim = "0.7.0", vimdaloo = "0.0.1-1" } |
returns combined versions string
(string) | e.g. "Lua 5.1, LuaJIT 2.1.0-beta3, NVIM v0.7.0, Vimdaloo 0.0.1-1" |
prints combined versions string
notifies combined versions string via vim.notify()
, or falls back to printing if not within nvim