2021-08-12 13:58:03 +02:00
|
|
|
local chad_theme = require("chadrc").ui.theme
|
2021-07-15 17:47:47 +02:00
|
|
|
|
2021-07-31 17:14:42 +02:00
|
|
|
vim.g.nvchad_theme = chad_theme
|
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-10 13:19:18 +02:00
|
|
|
base16(base16.themes(chad_theme), true)
|
2021-07-19 02:58:28 +02:00
|
|
|
require "highlights"
|
2021-07-15 17:47:47 +02:00
|
|
|
return true
|
2021-07-17 13:14:52 +02:00
|
|
|
else
|
|
|
|
return false
|
2021-07-15 17:47:47 +02:00
|
|
|
end
|