aboutsummaryrefslogtreecommitdiff
path: root/plugins/themeselect.lua
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-11-01 20:57:07 -0400
committerjgmdev <jgmdev@gmail.com>2022-11-01 20:57:07 -0400
commit49139e03398c9d0ecb347267a4882a4eb3f7ee23 (patch)
tree6ac890a209172a29e09ad47ccd0156e7f7114382 /plugins/themeselect.lua
parent380f6ef5fe9f8af19cd1f6b4c043eede51cbfcae (diff)
parent0971a7a686a4e18ee31b576c460966a5ec20ff01 (diff)
downloadlite-xl-plugins-49139e03398c9d0ecb347267a4882a4eb3f7ee23.tar.gz
lite-xl-plugins-49139e03398c9d0ecb347267a4882a4eb3f7ee23.zip
Merge branch '2.1'
Diffstat (limited to 'plugins/themeselect.lua')
-rw-r--r--plugins/themeselect.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/themeselect.lua b/plugins/themeselect.lua
index 70bd627..fe4ff34 100644
--- a/plugins/themeselect.lua
+++ b/plugins/themeselect.lua
@@ -1,4 +1,4 @@
--- mod-version:2 -- lite-xl 2.0
+-- mod-version:3
local core = require "core"
-- Load a specific theme when the filename of an active document does match
@@ -7,12 +7,11 @@ local core = require "core"
-- usage:
-- require("plugins.themeselect").add_pattern("%.md$", "summer")
-local theme_select = { }
+local theme_select = {}
local saved_colors_module = "core.style"
-local themes_patterns = {
-}
+local themes_patterns = {}
local reload_module = core.reload_module
local set_visited = core.set_visited