Use core.reload_module instead of style.load

This commit is contained in:
Francesco Abbate committed 2020-12-13 13:04:06 +01:00
1 parent 1fc0409163
commit 3a38ded396
3 files changed
+4 -8

No files matched your search

+2 -1
View File
@@ -175,12 +175,13 @@ local function write_user_init_file(init_filename)
-- this module will be loaded after everything else when the application starts
-- it will be automatically reloaded when saved
local core = require "core"
local keymap = require "core.keymap"
local config = require "core.config"
local style = require "core.style"
-- light theme:
-- style.load("colors.summer")
-- core.reload_module("colors.summer")
-- key binding:
-- keymap.add { ["ctrl+escape"] = "core:quit" }