aboutsummaryrefslogtreecommitdiff
path: root/themes/light
diff options
context:
space:
mode:
Diffstat (limited to 'themes/light')
-rw-r--r--themes/light/buffer.lua3
-rw-r--r--themes/light/view.lua4
2 files changed, 5 insertions, 2 deletions
diff --git a/themes/light/buffer.lua b/themes/light/buffer.lua
index 9d62eb38..f31d8d3d 100644
--- a/themes/light/buffer.lua
+++ b/themes/light/buffer.lua
@@ -1,7 +1,8 @@
-- Copyright 2007-2009 Mitchell mitchell<att>caladbolg.net. See LICENSE.
-- Light editor theme for Textadept.
-local textadept, buffer = textadept, buffer
+local textadept = _G.textadept
+local buffer = buffer
-- folding
buffer.property['fold'] = '1'
diff --git a/themes/light/view.lua b/themes/light/view.lua
index 3065fc67..99ce21e6 100644
--- a/themes/light/view.lua
+++ b/themes/light/view.lua
@@ -1,7 +1,9 @@
-- Copyright 2007-2009 Mitchell mitchell<att>caladbolg.net. See LICENSE.
-- Light editor theme for Textadept.
-local c, buffer = textadept.constants, buffer
+local textadept = _G.textadept
+local c = textadept.constants
+local buffer = buffer
-- caret
buffer.caret_fore = 3355443 -- 0x33 | 0x33 << 8 | 0x33 << 16