2021-07-31 11:14:42 -04:00
|
|
|
local chad_theme = require("user_config").ui.theme
|
2021-07-15 11:47:47 -04:00
|
|
|
|
2021-07-31 11:14:42 -04:00
|
|
|
vim.g.nvchad_theme = chad_theme
|
2021-07-30 13:11:56 -04:00
|
|
|
local present, base16 = pcall(require, "base16")
|
2021-07-17 07:14:52 -04:00
|
|
|
|
2021-07-30 13:11:56 -04:00
|
|
|
if present then
|
2021-08-10 07:19:18 -04:00
|
|
|
base16(base16.themes(chad_theme), true)
|
2021-07-18 20:58:28 -04:00
|
|
|
require "highlights"
|
2021-07-15 11:47:47 -04:00
|
|
|
return true
|
2021-07-17 07:14:52 -04:00
|
|
|
else
|
|
|
|
return false
|
2021-07-15 11:47:47 -04:00
|
|
|
end
|