aboutsummaryrefslogtreecommitdiffhomepage
path: root/init.lua
blob: d11375b93e409640399eebc2c65304312a2694a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. 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() end