diff options
author | 2011-12-15 11:16:50 -0500 | |
---|---|---|
committer | 2011-12-15 11:16:50 -0500 | |
commit | 83eabf083b695a296556b35b30be052afd76ee0c (patch) | |
tree | 7bee81144b0cd57d96496a50e55d13cc5114ebd7 /core/init.lua | |
parent | 4379015de5be80ac8a4ec280390960fe7f249c11 (diff) | |
download | textadept-83eabf083b695a296556b35b30be052afd76ee0c.tar.gz textadept-83eabf083b695a296556b35b30be052afd76ee0c.zip |
Add support for compiling with LuaJIT.
Diffstat (limited to 'core/init.lua')
-rw-r--r-- | core/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/init.lua b/core/init.lua index 18077169..cd1c9546 100644 --- a/core/init.lua +++ b/core/init.lua @@ -5,6 +5,7 @@ _RELEASE = "Textadept 4.3" package.path = _HOME..'/core/?.lua;'..package.path os.setlocale('C', 'collate') +if jit then require 'compat' end _SCINTILLA = require 'iface' args = require 'args' locale = require 'locale' |