neovim-confs/lua/theme.lua

13 lines
265 B
Lua
Raw Normal View History

local chad_theme = require("utils").load_config().ui.theme
2021-07-31 17:14:42 +02:00
vim.g.nvchad_theme = chad_theme
2021-08-14 21:14:55 +02:00
local present, base16 = pcall(require, "base16")
if present then
base16(base16.themes(chad_theme), true)
require "highlights"
return true
else
return false
end