diff --git a/init.lua b/init.lua index ea90943..15f8855 100644 --- a/init.lua +++ b/init.lua @@ -1,9 +1,12 @@ - -- pretty.init -- In case somebody loads `init.lua`. Just redirects to `pretty.lua`. +_VERSION = '0.5.0' + -------------------------------------------------------------------------------- local premodule = (...) if premodule == 'init' then premodule = '' end -return require (premodule .. (premodule ~= '' and '.' or '') .. 'pretty') +local pretty = require (premodule .. (premodule ~= '' and '.' or '') .. 'pretty') +pretty._VERSION = _VERSION +return pretty