This commit is contained in:
parent
6b4de24f92
commit
0486b674fc
7
init.lua
7
init.lua
|
@ -1,9 +1,12 @@
|
||||||
|
|
||||||
-- pretty.init
|
-- pretty.init
|
||||||
-- In case somebody loads `init.lua`. Just redirects to `pretty.lua`.
|
-- In case somebody loads `init.lua`. Just redirects to `pretty.lua`.
|
||||||
|
|
||||||
|
_VERSION = '0.5.0'
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
local premodule = (...)
|
local premodule = (...)
|
||||||
if premodule == 'init' then premodule = '' end
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user