From 5f29cb8190dbee6bb10b4eb904c8c39750de352d Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 23 Nov 2010 19:09:21 -0500 Subject: Code cleanup. Also modified the editing module's enclose() and select_enclosed() functions. --- init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index b262060c..94f2a687 100644 --- a/init.lua +++ b/init.lua @@ -1,14 +1,13 @@ -- Copyright 2007-2010 Mitchell mitchellcaladbolg.net. See LICENSE. -local paths = { +package.path = table.concat({ _USERHOME..'/?.lua', _USERHOME..'/modules/?.lua', _USERHOME..'/modules/?/init.lua', _HOME..'/modules/?.lua', _HOME..'/modules/?/init.lua', package.path -} -package.path = table.concat(paths, ';') +}, ';'); if not user_dofile('init.lua') then require 'textadept' end -- cgit v1.2.3