diff options
Diffstat (limited to 'core/init.lua')
-rw-r--r-- | core/init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/init.lua b/core/init.lua index ea7efb81..7cb91798 100644 --- a/core/init.lua +++ b/core/init.lua @@ -4,7 +4,6 @@ _RELEASE = "Textadept 6.5" package.path = _HOME..'/core/?.lua;'..package.path -if jit then require 'compat' end -- compatibility for LuaJIT _SCINTILLA = require 'iface' args = require 'args' _L = require 'locale' @@ -20,6 +19,9 @@ gui.set_theme() _M = {} -- modules table +-- LuaJIT compatibility. +if jit then module, package.searchers, bit32 = nil, package.loaders, bit end + --[[ This comment is for LuaDoc. --- -- Extends Lua's _G table to provide extra functions and fields for Textadept. |