initial commit

This commit is contained in:
2023-08-14 05:23:42 +02:00
parent b56348323e
commit b7c89a61e1
6 changed files with 944 additions and 0 deletions

27
lua/tccs/init.lua Normal file
View File

@@ -0,0 +1,27 @@
-- 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