aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/gui.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/gui.lua b/core/gui.lua
index dbbab6ce..a8900345 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -19,6 +19,8 @@ local gui = gui
-- The text displayed by the buffer statusbar.
module('gui')]]
+local theme = _HOME..'/themes/'..(not CURSES and 'light' or 'term')..'.lua'
+
-- Helper function for printing messages to buffers.
-- @see gui._print
local function _print(buffer_type, ...)
@@ -157,8 +159,6 @@ function gui.goto_file(filename, split, preferred_view, sloppy)
io.open_file(filename)
end
-local theme = _HOME..'/themes/'..(not CURSES and 'light' or 'term')..'.lua'
-
---
-- Sets the editor theme name to *name* or prompts the user to select one from a
-- list of themes found in the *`_USERHOME`/themes/* and *`_HOME`/themes/*