aboutsummaryrefslogtreecommitdiffhomepage
path: root/init.lua
blob: bf6880190488c9b541e7fb369d4a55665509c6da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- Copyright 2007-2012 Mitchell mitchell.att.foicica.com. See LICENSE.

package.path = table.concat({
  _USERHOME..'/?.lua',
  _USERHOME..'/modules/?.lua', _USERHOME..'/modules/?/init.lua',
  _HOME..'/modules/?.lua', _HOME..'/modules/?/init.lua',
  package.path
}, ';');

if not user_dofile('init.lua') then require 'textadept' end

if not RESETTING then args.process(arg) end