2021-07-15 15:47:47 +00:00
|
|
|
vim.g.nvchad_theme = "onedark"
|
|
|
|
|
2021-07-17 11:14:52 +00:00
|
|
|
local present, base16 = pcall(require, "base16")
|
|
|
|
|
|
|
|
if present then
|
2021-07-19 01:10:38 +00:00
|
|
|
-- enabled these options, was disabled in options.lua
|
|
|
|
vim.cmd([[
|
|
|
|
syntax on
|
|
|
|
filetype on
|
|
|
|
filetype plugin indent on
|
|
|
|
]])
|
|
|
|
|
2021-07-15 15:47:47 +00:00
|
|
|
base16(base16.themes["onedark"], true)
|
2021-07-19 00:58:28 +00:00
|
|
|
require "highlights"
|
2021-07-15 15:47:47 +00:00
|
|
|
return true
|
2021-07-17 11:14:52 +00:00
|
|
|
else
|
|
|
|
return false
|
2021-07-15 15:47:47 +00:00
|
|
|
end
|