summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/lvim/core/theme.lua6
-rw-r--r--lua/lvim/plugins.lua2
2 files changed, 7 insertions, 1 deletions
diff --git a/lua/lvim/core/theme.lua b/lua/lvim/core/theme.lua
index ad3c84cd..886045c9 100644
--- a/lua/lvim/core/theme.lua
+++ b/lua/lvim/core/theme.lua
@@ -40,6 +40,12 @@ M.config = function()
use_background = true, -- can be light/dark/auto. When auto, background will be set to vim.o.background
},
}
+ local status_ok, theme = pcall(require, "tokyonight")
+ if not status_ok then
+ return
+ end
+
+ theme.setup(lvim.builtin.theme.options)
end
M.setup = function()
diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua
index 2140636b..fbafb17a 100644
--- a/lua/lvim/plugins.lua
+++ b/lua/lvim/plugins.lua
@@ -19,7 +19,7 @@ local core_plugins = {
config = function()
require("lvim.core.theme").setup()
end,
- disable = not vim.startswith(lvim.colorscheme, "tokyonight"),
+ -- disable = not vim.startswith(lvim.colorscheme, "tokyonight"),
},
{
"rcarriga/nvim-notify",