You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
616 B

1 year ago
-- tccs color scheme
local tccs = {}
local config = require('tccs.config')
local theme = require('tccs.theme')
-- Pass setup to config module
tccs.setup = config.setup
-- Load colorscheme with a given or default style
tccs.load = function()
if vim.fn.exists('syntax_on') then
vim.cmd('syntax reset')
end
vim.o.termguicolors = true
vim.g.colors_name = 'tccs'
theme.set_highlights(config.opts)
if config.opts.group_overrides then
for group, val in pairs(config.opts['group_overrides']) do
vim.api.nvim_set_hl(0, group, val)
end
end
end
return tccs