aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-11-23 19:09:21 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2010-11-23 19:09:21 -0500
commit5f29cb8190dbee6bb10b4eb904c8c39750de352d (patch)
treeef9d178b4834087d829702d4894ec3b9330f3c0b /init.lua
parent1f3bbef0357b89f82a65d1e67caa1980eee3f40b (diff)
downloadtextadept-5f29cb8190dbee6bb10b4eb904c8c39750de352d.tar.gz
textadept-5f29cb8190dbee6bb10b4eb904c8c39750de352d.zip
Code cleanup.
Also modified the editing module's enclose() and select_enclosed() functions.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua5
1 files changed, 2 insertions, 3 deletions
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 mitchell<att>caladbolg.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