2021-08-19 09:06:01 +02:00
|
|
|
local chad_theme = require("chadrc").ui.theme
|
2021-07-31 17:14:42 +02:00
|
|
|
vim.g.nvchad_theme = chad_theme
|
2021-08-14 21:14:55 +02:00
|
|
|
|
2021-07-30 19:11:56 +02:00
|
|
|
local present, base16 = pcall(require, "base16")
|
2021-07-17 13:14:52 +02:00
|
|
|
|
2021-07-30 19:11:56 +02:00
|
|
|
if present then
|
2021-08-16 09:49:09 +02:00
|
|
|
base16(base16.themes(chad_theme), true)
|
|
|
|
require "highlights"
|
|
|
|
return true
|
2021-07-17 13:14:52 +02:00
|
|
|
else
|
2021-08-16 09:49:09 +02:00
|
|
|
return false
|
2021-07-15 17:47:47 +02:00
|
|
|
end
|