BREAKING change for hl_override users

put your new highlight groups to hl_add and put your overriden highlight groups which are present in our default theme in hl_override
This commit is contained in:
siduck 2022-06-15 17:08:39 +05:30
parent e1be20329e
commit 2091160434

View file

@ -5,19 +5,18 @@ local M = {}
M.options = { M.options = {
-- load your options here or load module with options1 -- load your options here or load module with options
user = function() end, user = function() end,
nvChad = { nvChad = {
-- updater
update_url = "https://github.com/NvChad/NvChad", update_url = "https://github.com/NvChad/NvChad",
update_branch = "main", update_branch = "main",
}, },
} }
---- UI -----
M.ui = { M.ui = {
-- hl = highlights
hl_add = {},
hl_override = {}, hl_override = {},
changed_themes = {}, changed_themes = {},
theme_toggle = { "onedark", "one_light" }, theme_toggle = { "onedark", "one_light" },
@ -28,19 +27,17 @@ M.ui = {
M.plugins = { M.plugins = {
override = {}, override = {},
remove = {}, remove = {},
user = {},
options = { options = {
lspconfig = { lspconfig = {
setup_lspconf = "", -- path of lspconfig file setup_lspconf = "", -- path of lspconfig file
}, },
statusline = { statusline = {
separator_style = "default", -- default/round/block separator_style = "default", -- default/round/block/arrow
config = "%!v:lua.require'ui.statusline'.run()", config = "%!v:lua.require'ui.statusline'.run()",
}, },
}, },
-- add, modify, remove plugins
user = {},
} }
-- check core.mappings for table structure -- check core.mappings for table structure