aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/init.lua')
-rw-r--r--core/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/init.lua b/core/init.lua
index 522fae00..a1cca760 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -17,6 +17,9 @@ _M = {} -- language modules table
-- LuaJIT compatibility.
if jit then module, package.searchers, bit32 = nil, package.loaders, bit end
+events.connect(events.INITIALIZED,
+ function() if arg then args.process(arg) end end)
+
--[[ This comment is for LuaDoc.
---
-- Extends Lua's _G table to provide extra functions and fields for Textadept.