2021-04-17 19:22:55 +00:00
|
|
|
local util = require("tokyonight.util")
|
|
|
|
local theme = require("tokyonight.theme")
|
|
|
|
|
2021-04-20 11:39:38 +00:00
|
|
|
local M = {}
|
|
|
|
|
2022-09-05 14:09:28 +00:00
|
|
|
function M.load(opts)
|
|
|
|
if opts then
|
|
|
|
require("tokyonight.config").extend(opts)
|
|
|
|
end
|
2021-05-12 09:19:28 +00:00
|
|
|
util.load(theme.setup())
|
|
|
|
end
|
2021-04-20 11:39:38 +00:00
|
|
|
|
2022-09-05 14:09:28 +00:00
|
|
|
M.colorscheme = M.load
|
|
|
|
|
2021-04-20 11:39:38 +00:00
|
|
|
return M
|