diff options
author | 2008-10-27 03:44:14 -0400 | |
---|---|---|
committer | 2008-10-27 03:44:14 -0400 | |
commit | a87d7403532c3a2be43e158e0cf3dd1e8e82f7ab (patch) | |
tree | fd710e6ba5286026f26a6a4e69dfd84dcc109f1f /init.lua | |
parent | 99c71445d4892fb8d465dc33767ac2fbc769ec50 (diff) |
Updated Textadept to compile and run on OSX with native GTK framework.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -26,10 +26,12 @@ if not RESETTING then local base_dir = arg[0]:match('^.+/') or '' local filepath for _, filename in ipairs(arg) do - if not filename:match('^~?/') then - textadept.io.open(base_dir..filename) - else - textadept.io.open(filename) + if not MAC or not filename:match('^%-psn_0') then + if not filename:match('^~?/') then + textadept.io.open(base_dir..filename) + else + textadept.io.open(filename) + end end end -- read only the Project Manager session settings |