medit/moo/moolua/lua-default-init.lua

6 lines
150 B
Lua
Raw Normal View History

2010-10-25 00:05:49 -07:00
local _g = getfenv(0)
require("moo.builtin")._inject(_g)
local medit = require("medit")
2011-01-09 23:33:47 -08:00
_g.app = medit.App.instance()
2010-12-12 02:29:20 -08:00
_g.editor = _g.app.get_editor()