summaryrefslogtreecommitdiff
path: root/lua/lvim/core/theme.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lvim/core/theme.lua')
-rw-r--r--lua/lvim/core/theme.lua6
1 files changed, 6 insertions, 0 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()